Download & Extend

Port Feed Path Publisher to D7

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

Title:Port to D7» Port Feed Path Publisher to D7

there is no other modules that provide this, so Feed Path Publisher should definitely be ported to Drupal 7

#2

Category:feature request» task

#3

any progress?

#4

Status:active» needs work

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() from feed_path_publisher_init because it was causing a PDO error on every page.

AttachmentSize
0001-Mostly-upgraded-for-D7-thanks-to-Coder-Upgrade-modul.patch 20 KB

#5

subscribe

#6

+1

#7

Status:needs work» needs review

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.

AttachmentSize
999414-7.patch 20.08 KB

#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

Version:6.x-1.x-dev» 7.x-1.x-dev
Status:needs review» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here