Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
book.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2007 at 15:59 UTC
Updated:
11 Oct 2009 at 20:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fgmFWIW, here is a patch rolled against Drupal 5.1. I haven't checked book.module in v6 yet...
It could be both simpler and more efficient if node_feed could take an array of nids in addition to a query. It could accept both by checking the param type: this is something it already does by providing a default query if none is supplied.
That way,
book_feedcould just build a list of nodes usingbook_recursewithout adding yet another point where an RSS feed is generated.Comment #2
fgmForgot to set status and mention that you can check it in action at http://www.php-gtk.eu/handbooks
Comment #3
cburschkaI'd like this.
The patch is probably broken by now; I'll test it shortly.
Comment #4
fgmHere is a patch rerolled agains today's HEAD.
Comment #5
catchstill applies with a lot of offset, won't get into D6 though.
Comment #6
catchdrupal_add_css() no longer goes in !may_cache - also this would be quite easy to do in views. Since views may end up in core in D7, I'd rather see this dealt with alongside node_type views and rss feeds.
Comment #7
buzink commentedA book feed should be standard functionality, like a group feed, taxonomy feeds, etc.
I reworked the code in the patch above for drupal 6 (see below). There's only one big problem, the book feeds seem to show only one item (the first bookpage from that point in the hierarchy). Anyone?
---
If you want to add feeds per book, do the following.
In book.module, below
add
(this makes the link to the feed appear)
below
add
(this makes the link call the bookfeed-function)
Now add the bookfeed function to the file book.pages.inc:
Comment #8
fgmFWIW, since this was a D5 issue initially, here is the patch rerolled (and fixed !) for DRUPAL-5--21.
Not setting for review to prevent PIFR from testing it against D7.