Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2011-02-06 12:23:27
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Trying to customize rss feeds
- I’m trying to customomize RSS feeds, in particular I need to remove the description from the feed.
For this reason I’m at present trying to use ‘atb_customize_feeds’, but I cannot finfd enough explaination on how to use it.
- I’ve also tried successfully to use the template ‘my-rss’ before, but I don’t know how to use it with default RSS textpattern tag ‘ <txp:feed link />. I’ve found this forum post, explaining I would need to modify htaccess file:
http://forum.textpattern.com/viewtopic.php?pid=229314#p229314
But, I ask: Is it a good solution?
Can this work with the default textpattern tag?
I’ve found also this: http://txptips.com/create-a-custom-author-feed
but I can’t understand the link between ‘rah_external_output’ and the feed , that is I can’t understand how the
‘Feed items’ is called in the final code.
Last edited by Bongo-man (2011-02-06 13:23:39)
Offline
Re: Trying to customize rss feeds
Hi,
You can create an entry in extensions > external output
called myfeed.rss
(or whatever obviously) set the mime type to application/rss+xml
Link this in the head
of your HTML to embed it:
<link rel="alternate" type="application/rss+xml" title="this is my feed" href="http://domain.com/?rah_external_output=myfeed.rss" />
and/or you can just link to it on the page too if you want using an anchor. I usually get the feed into feedburner and link to that instead.
Hope that helps?
Jan
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: Trying to customize rss feeds
To customize article feeds I use rah_custom_feed
Last edited by CeBe (2011-02-06 18:01:06)
Offline
#4 2011-02-06 21:11:05
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Re: Trying to customize rss feeds
I haven’t succed in using this option.
I have goot more fortune with this http://isaacbowen.com/blog/custom-rss-feeds-in-textpattern/
I have customized it very well, because it utilizes a specific section for each feed, that can be adapted to the matching directory, like this: www.mywebsite.com/directory1 with RSSfeed: www.mywebsite.com/directory1-xml, www.mywebsite.com/directory2 with RSSfeed: www.mywebsite.com/directory2-xml , etc
directory1, directory2 are all sections
So that I can call the RSS-feed of each directory (section) from the same template by means of:
<a href=“http://www.mywebsite.com/<txp:section />-xml”>RSS.gif</a>
Offline
#5 2011-02-07 07:05:41
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Re: Trying to customize rss feeds
The solution above works profiting the expression aand the form reported in this page: http://isaacbowen.com/blog/custom-rss-feeds-in-textpattern/
But I don’t know why not all the article date are reported in the RSS feed, in some RSS-feeds the date is reported in almost every feed article, in other RSS-feeds the date lacks almost in all of the articles listed in the feed.
I don’t know why. Any solution?
Offline
Pages: 1