On Feb 14, 2006, at 12:33 PM, Allen Gilliland wrote:
On Mon, 2006-02-13 at 21:33, Dave Johnson wrote:
ROL-473: Page view for specific date should show all entries for
datehttp://opensource2.atlassian.com/projects/roller/browse/ROL-473
This fix is a pretty significant change, so I'm looking for feedback.
To fix this old bug I had to introduce the idea of current day, day,
month and entry pages. That sounds drastic, but all old permalinks
still work (even the old /page/<handle>/YYYYMMDD#<anchor> ones).
Here's how the four types of Roller blog URLs work:
Current day page
/page/<handle>/
On the current day page, Roller will show the most recent N blog
entries (not just those for the day).
At the end of the page, a previous link points to day page of entries
before the ones shown (and the link is displayed as the day's date).
This works exactly as before.
This is the only one that I am questioning. I don't mind if
someone puts these links in themselves, but I'm not sure I'm
convinced it should be the default behavior for these links to
exist on the bottom of the blog homepage. My thinking is ...
To work consistently those links need to be inside the macro. I did
put each of them in a div (with different classes for the top and
bottom links), so it is possible to turn them off if you don't want
them shown on your blog.
1. It's a little misleading because you aren't really paging
through the next XX entries. Paging through days seems less useful
to me than paging through months.
I think using previous day link here is the only way to go because:
1) Using previous entry would be inconsistent
2) Using previous month would skip entries, since we're only showing
the last N entries and not all in the current month.
2. I think it's preferrable to use some kind of archives page/
section which lists links to older entries. On most blogs people
typically have 1) the calendar and 2) a list of archives by month
or category. These seem like more appropriate ways to access older
entries from a blog homepage.
I'd like to allow for that too. I'd like to see archive month views
and year views.
- Dave
-- Allen
Day page
/page/<handle>/YYYYMMDD
On a day page, Roller will show all of the entries for a specific
day. At the end of the page, a next/previous link allows navigation
to next and previous day of entries (and the links are displayed as
the day's dates). Before, day pages always showed N entries (where
usually N=15), but now they'll show only a day's worth (e.g. 1-3
entries).
excellent.
Month page
/page/<handle>/YYYYMM
On a month page, Roller will show the most recent N blog entries in
the month. At the end of the page, a previous link points to day page
of entries before the ones shown. This is new; we didn't have month
pages before.
awesome, we've definitely needed this.
Entry page
/page/<handle>?entry=<anchor>
On an entry page, one entry is shown. The next/prev links link to the
next and previous entries (and the links are displayed as the entry
titles, nicely truncated). This one also works exactly as before.
I also changed the calendar macro/JSP tag, so that the next/previous
month links point to next/previos month links.
I've got this deployed on my blog now, in case you want to experiment
with permalinks, the next/prev stuff and the calendar links.
- Dave