Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
rss and custom fields
I just upgraded to 4.02 and i can see no problems just yet. The enhancements, especially with the rss/atom are great!!!!! Thanks to all developers.
there is one extra thing regarding the feeds. Will it be possible for the custom fields to be included?
ie in my default form i have
<code><txp:if_article_list>
<div class=“dots”><txp:beginning />
<div class=“artinfo”><b><txp:permlink><txp:section /> → <txp:title /></txp:permlink></b></div>
<ul><li><b>POSTED</b>: <txp:posted /></li>
<txp:if_custom_field name=“custom1”><li><b><txp:custom_field name=“custom1” /></b></txp:if_custom_field>
<txp:if_custom_field name=“custom2”><txp:custom_field name=“custom2” /></txp:if_custom_field><txp:if_custom_field name=“custom3”> (<txp:custom_field name=“custom3” />)</li></txp:if_custom_field></ul>
<txp:excerpt />
<p>
<txp:permlink>Read more…</txp:permlink>
<txp:comments_invite />
</p></div>
</txp:if_article_list></code>
the above is obviously parsed in the front page. custom fields n all.
But the custom fields do not appear in the feeds.
Maybe i totally misunderstood what rss and atom feeds are capable of, and more importantly how txp functions but I would thing that whatever one decides to show in the front page, that information should also be included in the feed…
As i said… maybe i got it wrong.
Last edited by colak (2005-11-02 18:18:30)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: rss and custom fields
Feeds are for syndicating content, that is articles. Forms are for presenting articles (e.g. they mash all meta-data together with the body) on webpages. Yeah, I think you misunderstood some stuff. ;)
Maybe sometime in the future there will be templatable feeds, if that arrives, you can freely decide what you want to put into which feed-elements.
Offline
Re: rss and custom fields
Think of forms as macro… little piece of code that is re-used everywhere (if you want to), in the correct context.
Offline
Re: rss and custom fields
Thanks guys…
I guess i did get it wrong:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1