Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
related links via delicious
Hi, I’m wondering if this could be done. Say I have articles labeled with keywords. I also have links tagged in delicious, which are matchable with the article keywords. Is it possible to display a set of delicious links on the individual article page, based on the article keyword(s)?
Offline
Re: related links via delicious
Oops Sorry I was a little bit too fast. Your main question is “Is it possible to display a set of delicious links on the individual article page, based on the article keyword(s)?”
I did not try it but you can check if tru_tags is able to be used in combination with the SimplePie plug-in and asy_wondertags (or wait for TXP 4.0.7 with nesting tags capabilities). tru_tags offers the possibility to create individual URL structures with every single keyword added as a variable.
Old answer
Sure. Use the SimplePie plugin to catch the tag RSS feeds.
Related on performancing.com by me:
- Blog archive: The publishing power of bookmarks
- Bookmark Magic: Delicous.com now accepts 1,000 sign description
- For lists up to 100 items Tip: Get more from the delicious.com a.k.a. del.icio.us RSS feeds
- Search for Textpattern to find more TXP related articles and comments on performancing.com
And check out asv_tumblelog if you want feed items to become single articles.
Last edited by merz1 (2008-08-28 19:34:59)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
Re: related links via delicious
Hi merz1, thanks for the pointer.
I toyed around a bit with SimplePie (already using tru_tags), and I can see how this should be able to work, but somehow it doesn’t. For instance, although:
http://feed/<txp:tru_tags_from_article generateslink="0" />
produces the string http://feed/sometag, and the hard-coded:
<txp:feed>http://feed/sometag</txp:feed>
pulls the desired links(of course), however, when used together:
<txp:feed>http://feed/<txp:tru_tags_from_article generateslink="0" /></txp:feed>
SimplePie simply fails to pull the feed. Substitute tru_tags with plain old <txp:keywords />, and the result is same. I’m not sure where asy_wondertags comes in place, since I’m using txp tags as part of an argument to another txp tag, but not as an attribute, nonetheless, http://feed/<some txp tag> doesn’t seem to be a valid argument to <txp:feed> right now. I think this could be worked around, but it sounds like a lot of PHP hacking way out of my league.
Then again, assuming the above can be solved, another problem is that one would need a way to customize the keywords delimiter(comma in txp), in order to match delicious’ feed format (http://feed/tag1+tag2+….).
Offline
Pages: 1