Posted by Peter Törnstrand on December 15, 2010 at 9:12pm
18 followers
| Project: | Feed Path Publisher |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | d7 ports, drupal 7 port |
Issue Summary
Will Feed path publisher be ported to Drupal 7? Roadmap?
Comments
#1
there is no other modules that provide this, so Feed Path Publisher should definitely be ported to Drupal 7
#2
#3
any progress?
#4
Initial update attached, mostly thanks to Coder Upgrade module. There are still some DB functions that need to be converted, and I commented out the call to
_feed_path_publisher_add_feeds()fromfeed_path_publisher_initbecause it was causing a PDO error on every page.#5
subscribe
#6
+1
#7
Fixed version attached - now with D7-style queries and bugs fixed and what have you. This is ready for other people to test.
This patch was generated from the 6.x-1.x branch.
#8
sub
#9
sub
#10
FYI, for those who just want to stick a feed or two all over the site (or, you can control specifically where feeds are posted manually, in code), you can use drupal_add_feed() for the time being, inside a hook like hook_init(). For example, in my custom module, I have:
<?php/**
* Implements hook_init().
*/
function custom_init() {
// Add feeds to the page header so people can subscribe anywhere.
drupal_add_feed('comments/feed.xml', t('Comments'));
drupal_add_feed('blogs/jeff-geerling/feed', t('Blog'));
drupal_add_feed('rss.xml', t('All Content'));
}
?>
This puts the feeds on every page on the site on www.lifeisaprayer.com.
#11
I have just released the -dev and -beta1 versions of 7.x-1.x. This is just an update of the existing functionality to make use of new APIs, without any new functionality or bug fixes. Please test it out, and post new issues for any problems you find.
The release will be available here once the packaging script finishes with it:
http://drupal.org/node/1565066
#12
Automatically closed -- issue fixed for 2 weeks with no activity.