Re: [PHP] getting content exceprts from the database

2010-04-26 Thread tedd
At 11:52 AM +0100 4/26/10, Ashley Sheridan wrote: -snip- SEO concerns Does anyone have any ideas about what I could do, or do you think I'm seeing problems where there are none? Thanks, Ash Ash: Not only do you have to consider SEO for content, but what about content for an internal Site Se

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Phpster
On Apr 26, 2010, at 7:54 AM, Ashley Sheridan wrote: On Mon, 2010-04-26 at 07:58 -0400, Phpster wrote: On Apr 26, 2010, at 7:23 AM, Ashley Sheridan wrote: > On Mon, 2010-04-26 at 13:20 +0200, Peter Lind wrote: > >> On 26 April 2010 12:52, Ashley Sheridan >> wrote: >>> I've been thinki

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Ashley Sheridan
On Mon, 2010-04-26 at 07:58 -0400, Phpster wrote: > > On Apr 26, 2010, at 7:23 AM, Ashley Sheridan > wrote: > > > On Mon, 2010-04-26 at 13:20 +0200, Peter Lind wrote: > > > >> On 26 April 2010 12:52, Ashley Sheridan > >> wrote: > >>> I've been thinking about this problem for a little while

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Phpster
On Apr 26, 2010, at 7:23 AM, Ashley Sheridan wrote: On Mon, 2010-04-26 at 13:20 +0200, Peter Lind wrote: On 26 April 2010 12:52, Ashley Sheridan wrote: I've been thinking about this problem for a little while, and the thing is, I can think of ways of doing it, but they're not very ni

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Peter Lind
On 26 April 2010 13:23, Ashley Sheridan wrote: > > On Mon, 2010-04-26 at 13:20 +0200, Peter Lind wrote: > > On 26 April 2010 12:52, Ashley Sheridan wrote: > > I've been thinking about this problem for a little while, and the thing > > is, I can think of ways of doing it, but they're not very nice

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Ashley Sheridan
On Mon, 2010-04-26 at 13:20 +0200, Peter Lind wrote: > On 26 April 2010 12:52, Ashley Sheridan wrote: > > I've been thinking about this problem for a little while, and the thing > > is, I can think of ways of doing it, but they're not very nice, and I > > don't think they're going to be fast. > >

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Per Jessen
Ashley Sheridan wrote: > Here's the rub though. As the content is in HTML form, I can't just > grab the first 100 characters and display them as that could leave an > open tag without a closing one, potentially breaking the page. I > could use strip_tags on the 100-character excerpt, but what if

Re: [PHP] getting content exceprts from the database

2010-04-26 Thread Peter Lind
On 26 April 2010 12:52, Ashley Sheridan wrote: > I've been thinking about this problem for a little while, and the thing > is, I can think of ways of doing it, but they're not very nice, and I > don't think they're going to be fast. > > Basically, I have a load of HTML formatted content in a datab

[PHP] getting content exceprts from the database

2010-04-26 Thread Ashley Sheridan
I've been thinking about this problem for a little while, and the thing is, I can think of ways of doing it, but they're not very nice, and I don't think they're going to be fast. Basically, I have a load of HTML formatted content in a database that get displayed onto the site. It's part of a rudi