I'm writing up a CMS for a new site and I was wondering what the best way to split content up into separate pages was. This is the way I was thinking of proceeding: 1. Have special code like: "[PAGEBREAKHERE]" inside my content 2. Explode the text field wherever there is the special code from step 1 3. Display an exploded bit according to a GET page num variable in the URL. (I hope this all made sense...) Any comments would be appreciated. Thanks!
I'm not sure to what do you mean by splitting up content? but you can always use Read more.. and then redirect them to different page? :-/ if that's what you're trying to say...
I'd go for ProgrammersTalk solution: Display the first 20 (or more) first words, and then display a "read more" link, linking to a page where you just display everything. If the text is véry long, it might be best to break it up on the "read more" page as well, and then i'd go for the GET param in the url
I personally hate sites that break up text in pages: this is a computer display, not a book, so it's a lot easier to scroll down than have to click and wait for another page to load. Of course it's a good way to inflate page views, but otherwise I don't see the point.
I wouldn't split article but if you really want to do it, then your solution is quite good it will be very flexible.
i have advertisements embedded into the top of the content, so more pages will mean a higher concentration of ads. Does my thinking translate to profit boosts in reality?
Main page is used to only highlight the story, assuming that this is not a blogging site that's usually have the whole content on the main page. Even on the bloggin pages are looks nicer when it doesn't have small scroll because of long information provided...
Then it makes sense. The solution I use to generate summaries for my RSS feeds is just to cut out the first X chars and then algorithmically search for a clean cutting point. It's not as clean as manually indicating where to cut exactly as you do, but so far it's sufficient (plus nothing quite like a sentence cut halfway to motivate people to clic )