Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2008-08-28 09:48:02

vittorio
Member
From: Roma caput mundi
Registered: 2006-02-01
Posts: 122
Website

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

#17 2008-08-28 09:58:14

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

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

#18 2008-08-28 10:11:44

vittorio
Member
From: Roma caput mundi
Registered: 2006-02-01
Posts: 122
Website

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

#19 2008-09-23 13:30:40

Spot
Member
Registered: 2006-05-05
Posts: 39
Website

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

#20 2008-09-24 14:24:13

Spot
Member
Registered: 2006-05-05
Posts: 39
Website

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

#21 2009-06-15 16:37:49

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

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

#22 2009-06-15 16:55:14

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

Re: jnm_feed_custom_item

I think it must be of type “Article” to use the “article” tags (txp:body, …)

Offline

#23 2009-06-15 18:31:56

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

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.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#24 2009-09-30 02:58:56

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: jnm_feed_custom_item

Can anyone confirm that this works in 4.2? what’s the easiest way to confirm it’s working?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#25 2009-09-30 19:11:32

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

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

#26 2009-10-05 23:03:24

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#27 2010-01-08 10:07:29

khorramirad
Member
From: Iran
Registered: 2009-12-12
Posts: 11
Website

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

#28 2010-01-08 10:25:30

juanjonavarro
Plugin Author
From: Valencia, Spain
Registered: 2005-05-16
Posts: 485
Website

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

#29 2010-01-08 11:32:24

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

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

#30 2010-01-09 11:08:02

khorramirad
Member
From: Iran
Registered: 2009-12-12
Posts: 11
Website

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

Board footer

Powered by FluxBB