Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: jnm_feed_custom_item
Juanjo, thanks for your immediate reply. I just published a new entry, and it seems to work now, but only in part. Netvibes and Google Reader show the new post correctly, but Firefox integrated reader still doesn’t… quite curious, no?
OT: Just noticed you’re from Valencia. Great city, I lived there several months, some years ago, when I was an Erasmus student. And I had so much fun…! :D
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
Re: jnm_feed_custom_item
Maybe Firefox is showing you only the “excerpt” for the entry?
OT: Thank you. I hope to visit your city soon. I’m sure Roma is a wonderful city.
Offline
Re: jnm_feed_custom_item
juanjonavarro wrote:
Maybe Firefox is showing you only the “excerpt” for the entry?
Yes, that’s what it does if the post has an excerpt. But (and this is even stranger) if the post doesn’t have an excerpt, it is shown correctly with all the customization I made through your plugin. Check yourself with Firefox here, the third post you’ll see looks different from the others (shows related articles, article image and other things): that is the only one without an excerpt.
?
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
Re: jnm_feed_custom_item
I’m not sure if this is actually correct – and if not, maybe someone can tell me how to edit the rss.php file :) – but I’ve entered
<georss:point><txp:custom_field name=“lat” /> <txp:custom_field name=“long” /></georss:point>
(I haven’t wrapped it in <txp:if_custom_field name=“lat”> tags because that’s had the effect of shutting-off my map markers, as I’ve used that tag in my default article form)
in the feed_item_body form (I’ve just called the form a misc Type?) and added
xmlns:georss=“http://www.georss.org/georss”
to the header part of the rss.php code to enable someone to pick-up georss ponts from my feed.
The feed validates (with some warnings) but as the geo coordinates are within the <![CDATA[ of the fee, is this technically correct?
Thanks for the plugin.
Last edited by Spot (2008-09-23 13:32:31)
iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2
Offline
Re: jnm_feed_custom_item
Sorted – using mg_setheader plugin to write a new georss only feed.
iMac 3.06 GHz 2 GB SDRAM
OSX 10.6.2
Offline
Re: jnm_feed_custom_item
Nice one! Thanks for making this.
Just curious—does it need to be an Article form to work, or will Misc or some other form types work? I didn’t see this mentioned anywhere. I was having various troubles setting up my feed, and I’m not sure if changing “feed_item_body” to an Article form type helped or not.
Offline
Re: jnm_feed_custom_item
I think it must be of type “Article” to use the “article” tags (txp:body, …)
Offline
Re: jnm_feed_custom_item
No, it shouldn’t be necessary. Form type is just for classifying forms (for sorting and to use on the built-in Tag Builder), but type doesn’t affect the way a form works.
Offline
Re: jnm_feed_custom_item
Can anyone confirm that this works in 4.2? what’s the easiest way to confirm it’s working?
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: jnm_feed_custom_item
MattD wrote:
Can anyone confirm that this works in 4.2? what’s the easiest way to confirm it’s working?
Yes, it works. :)
Offline
Re: jnm_feed_custom_item
Never mind, now I see it’s the issue described earlier
Last edited by MattD (2009-10-05 23:06:30)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: jnm_feed_custom_item
well, thanks for the plugin. It works fine when I use this:
<txp:body/>
<br />
<p>Category: <txp:category1 title=“1” link=“1” /> | Keywords: <txp:tru_tags_from_article /></p>
then, I was thinking about adding my related articles to the end of feed:
<txp:body/>
<br />
<p>Category: <txp:category1 title=“1” link=“1” /> | Keywords: <txp:tru_tags_from_article /></p>
<p>Related Articles:
<ul>
<txp:chh_related_articles relation=“keywords”
limit=“5”
form=“nwrelated”
section=“article” />
</ul>
</p>
but, it didn’t work. my titles are ok, but the rest of the feed (body, and extras) are all my last post’s.
I’ve changed the form to this:
<txp:body/>
<br />
<p>Category: <txp:category1 title=“1” link=“1” /> | Keywords: <txp:tru_tags_from_article /></p>
<p>Whatever:
<ul>
<txp:article_custom limit=“5”
form=“nwrelated”
section=“article” />
</ul>
</p>
and… guess what? problem remains!
so, chh_related_articles is not the problem.
I’ve changed my feed customization solution to tru_tags feed customization feature, and… PROBLEM REMAINS!
well, have any ideas?
Offline
Re: jnm_feed_custom_item
I think the problem is related with the fact that textpattern process feeds using atom.php and rss.php (in textpattern/publish/) and some processing required by these plugins is missing (is done when you visit the site but not in the feed processing).
To achieve completely customizable fees, you can create a section for your feed, as described here
Offline
Re: jnm_feed_custom_item
[OT: tru_tags] In my tru_tags_feed_tags form, which adds content to the feed, I use the following code to show related articles by categories:
<h4>Verwandte Artikel nach Kategorie(n): <txp:category1 title="1" link="1" /> <txp:category2 title="1" link="1" /></h4>
<txp:chh_if_data><txp:related_articles break="li" wraptag="ul" limit="5" /><txp:else /><p>Keine verwandten Artikel vorhanden.</p></txp:chh_if_data>
Check out the tag & the attributes for txp:related_articles!
Note: To remain on topic … If the thread continues to discuss the tru_tags feature pls. head over to the tru_tags thread.
Last edited by merz1 (2010-01-08 11:36:14)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: jnm_feed_custom_item
Thanks Juanjo, Thanks Markus.
I was about to use a form in txp:article_custom and txp:chh_related_articles. problem resolved by using those tags without forms.
Offline