Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-04-16 15:49:12
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Feed link wraped around an image
I need must use TXP’s feed link tag as i’m using the MLP (it changes on different languages).
But I don’t know a way to make an image the link to the feed.
Offline
#2 2007-04-17 00:04:08
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Feed link wraped around an image
feed_link can be used as a wrapping tag.
Edit: er, only in svn – not yet.
Last edited by Mary (2007-04-18 06:46:16)
Offline
#3 2007-04-17 06:33:07
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: Feed link wraped around an image
I’m sure I tried that but didn’t have an luck. How would it go again?
Because this doesn’t work…
<txp:feed_link flavor="rss" format="a" section="news"><txp:image id="17" /></txp:feed_link>
Last edited by FireFusion (2007-04-17 07:12:45)
Offline
#4 2007-04-17 08:07:05
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: Feed link wraped around an image
I see a way to do it by putting it in the label but since i’m using XHTML Strict it doesn’t work for me, as I need to close that img tag.
Offline
#5 2007-04-18 06:49:09
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Feed link wraped around an image
Ak, pardon me, it is only in svn you can do that. :/
But, you can do this:
<a href="<txp:site_url />rss?section=news" title="<txp:text item="rss_feed_title" />"><txp:image id="17" /></a>
Offline
Pages: 1