homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
mod_rewrite rss feed
lokust




msg:1501074
 10:03 am on Jul 16, 2005 (gmt 0)

I am using the Mambo OS which outputs a RSS feed that seems to cause problems for all of the php-scripted RSS aggregators that I have tried.
I am trying to grab an RSS 2.0 feed from Mambo and publish the news onto a non-mambo page with the .php extension.

The Mambo RSS 2.0 feed looks like this:
[sample.com...]

An acceptable feed would look like this:
[sample.com...]

Am I on the right track with this code?:

RewriteCond %{QUERY_STRING} ^option=com_rss&feed=RSS2.0&no_html=1$
RewriteRule ^index2\.php$ [sample.com...] [R=301,L]

Thanks

 

harbs




msg:1501075
 10:11 am on Jul 16, 2005 (gmt 0)

Try something like this:

[yourmambositeurl...]

Your mambo installation should also generate an RSS feed at the same location.

lokust




msg:1501076
 1:53 pm on Jul 16, 2005 (gmt 0)

wow.
That has hit thee nail on thee head!
Thanks very much.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved