pass the forum id only in RSS using GYM

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

pass the forum id only in RSS using GYM

Postby easyexpat » Tue Mar 16, 2010 4:03 pm

Is there a way, using GYM RSS to pass the forum with the id only.
For example, instead of /forums/myforum-f255/news/forum.xml.gz
I would prefer something like /forums/gym.php?fid=255

I tried feed.php?f=46 as per the standard phpBB3 but then I loose the nicely customize URL in the link...

Any help, thanks in advance :)
easyexpat
 
Posts: 19
Joined: Fri Sep 25, 2009 10:06 am

Advertisement

Re: pass the forum id only in RSS using GYM

Postby SeO » Tue Mar 16, 2010 6:20 pm

If you turn url rewriting off for GYM you'll have gymrss.php?forum=xx urls for forums feeds.

Why do you want to do this ?
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Re: pass the forum id only in RSS using GYM

Postby easyexpat » Tue Mar 16, 2010 6:39 pm

Just easier to store in the db: I store the forum ID instead of the name in order to use in the feedparser to display RSS.
Thanks
easyexpat
 
Posts: 19
Joined: Fri Sep 25, 2009 10:06 am

Re: pass the forum id only in RSS using GYM

Postby SeO » Tue Mar 16, 2010 7:22 pm

ho, but then, you can try to keep the urls rewritten, and send un-rewritten url to the feedparser.

Should work too.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Re: pass the forum id only in RSS using GYM

Postby easyexpat » Tue Mar 16, 2010 11:25 pm

SeO wrote:ho, but then, you can try to keep the urls rewritten, and send un-rewritten url to the feedparser.

Should work too.

Indeed, this is the plan :)
easyexpat
 
Posts: 19
Joined: Fri Sep 25, 2009 10:06 am


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Exabot [Bot] and 8 guests