Feedburner and Drupal 4.7

error500 - May 3, 2006 - 09:44

I have migrated my site to Drupal 4.7. I had some problems with the theme but the most important problem was that fedburner dosen´t work.

I have an alias url /feedbu for /node/feed and that is the url i gave to feedburner, but with drupal 4.7 dosen´t work, any idea?

1. Find out your new 4.7

ericatkins - June 7, 2006 - 12:23

1. Find out your new 4.7 feed URL(s) - they are different now
2. Update Feedburner to ping the new URL(s)
3. Enjoy

node/feed => rss.xml

Arto - June 7, 2006 - 13:15

Specifically, instead of /node/feed, use /rss.xml.

--
Arto Bendiken -- currently working on static page caching for Drupal 4.7.

Did you get it working?

beambot - March 7, 2007 - 07:33

I'm actually having the same problem...

I've added the alias rss.xml -> fbfeed

and am forwarding (in .htaccess) rss.xml to my feedburner link. I have feedburner pinging the fbfeed. The problem is that the RSS feed now points to the alias instead of the original rss.xml. Apparently it is resolving the alias in $styles (or $head, I'm not sure which it comes from).

In the HTML source:
link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.example.com/fbfeed"

Did you ever solve this problem??

Pseudo- (preliminary) solution

beambot - March 7, 2007 - 07:54

To rehash:

I've added the alias rss.xml -> fbfeed

and am forwarding (in .htaccess) rss.xml to my feedburner link (http://feeds.feedburner.com/example). I have feedburner pinging the fbfeed "hidden" RSS feed. The problem is that the RSS feed in the HTML document now points regular users to the alias instead of the original rss.xml (see HTML snipit below). Apparently it is resolving the alias in $head as opposed to using the original rss.xml. This means that USERS (as well as feedburner) are grabbing the "hidden" feed.

In the HTML source:
link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.example.com/fbfeed"

Did you come across this problem?

The only way I found to fix it was a hard-coded override... instead of:

print $head

In the PHPTemplate, you can relpace it with:

print str_replace('http://example.com/fbfeed', 'http://example.com/rss.xml', $head);

Hmm... maybe that doesn't

beambot - March 7, 2007 - 08:03

Hmm... maybe that doesn't work...

 
 

Drupal is a registered trademark of Dries Buytaert.