hello
i seem to have a problem on www.riders.dk
i cant find out how to pick the right template as landing page from a rss feed.
i have made a special "news/article" template witch works fine when a article is viewed normaly thought a link on riders.dk.
>>http://riders.dk/Default.aspx?ID=71&M=News&PID=140&NewsID=1873
but when you get the link via rss it looks like this >>
http://riders.dk/Default.aspx?ID=1087&M=News&NewsID=1873
it is because the rss only takes the pagetemplate and not the pagetemplate and the speciel newstemplate.
any idea how to solve this one?
Developer forum
E-mail notifications
news template for rss-feed
Posted on 14/02/2007 19:06:53
Replies
Posted on 15/02/2007 09:30:24
ralf@fonqi.dk wrote:
hello
i seem to have a problem on www.riders.dk
i cant find out how to pick the right template as landing page from a rss feed.
i have made a special "news/article" template witch works fine when a article is viewed normaly thought a link on riders.dk.
>>http://riders.dk/Default.aspx?ID=71&M=News&PID=140&NewsID=1873
but when you get the link via rss it looks like this >>
http://riders.dk/Default.aspx?ID=1087&M=News&NewsID=1873
it is because the rss only takes the pagetemplate and not the pagetemplate and the speciel newstemplate.
any idea how to solve this one?
Hi Ralf
It happens because of the page id in the two links.
Apparently the RSS module changes the pageid on link and shows the news element on page 1087 instead of 71.
If you report this in the helpdesk it would much appreciated.
// Sebastian
Posted on 15/02/2007 10:28:58
ok but how can i make a "hack" to make it work? is there a template tag that just gives me the id and then i could write the rest of it my self?
Posted on 15/02/2007 10:47:57
ralf@fonqi.dk wrote:
ok but how can i make a "hack" to make it work? is there a template tag that just gives me the id and then i could write the rest of it my self?
As far as I know there is no hack ...
// Sebastian
You must be logged in to post in the forum