Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-14 09:17:20

yeahdisk
Member
Registered: 2006-01-23
Posts: 17

nested textpattern tags ?

Hi, my question stems from trying to nest <txp:keywords /> within a plugin tag

(I would have posted in the particular plugin thread but my question is really about nesting in general)

basically, my RSS parsing plugin uses a tag called feed (where the RSS feed comes from) such as

feed=“http://news.search.yahoo.com/news/rss?p=sport”

(which would give me an rss feed of all items from Yahoo News featuring the word ‘sport’

What I would like to do is, on a single article page, assign (in this example) the word sport as an article keyword, and then nest <txp:keywords /> within my RSS tag, such as:

feed=“http://news.search.yahoo.com/news/rss?p=<txp:keywords />”

This doesn’t work – it appears that Textpattern treats anything within the “ “ as straight text and doesn’t convert the tags.

Anybody have an answer or a workaround of how I could nest tags like this?

Regards

chris.

Offline

#2 2008-02-14 09:32:17

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: nested textpattern tags ?

Offline

#3 2008-02-14 09:34:07

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: nested textpattern tags ?


TXP Builders – finely-crafted code, design and txp

Offline

#4 2008-02-14 09:55:45

yeahdisk
Member
Registered: 2006-01-23
Posts: 17

Re: nested textpattern tags ?

thanks and thanks

Offline

Board footer

Powered by FluxBB