Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2012-01-20 23:49:12
- WebKat
- Member
- Registered: 2007-01-16
- Posts: 301
Having trouble with <txp:permlink> tag in RSS feeds...
I made a post in the bit_rss thread here: http://forum.textpattern.com/viewtopic.php?pid=257049#p257049 but I don’t think that thread is being actively monitored, so I thought maybe a more general audience would be able to help me. I’ll just repost here what I posted there since that’s the easiest thing to do:
I want to include the url to each of the individual items in the rss feed on the print.css stylesheet so that people can still see where they go to… here is my form:
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<blockquote>
<p><txp:rss_auto_excerpt words="75" showlinkwithexcerpt="0" /></p>
<p align="right" class="smallcaps"><em>~ <txp:posted /></em><br><span class="noprint"><txp:permlink>Go To Entry</txp:permlink> →</span></p>
<p align="left" class="print_only" style="font-size:.7em;"><txp:permlink /></p>
</blockquote>
The problem is that it displays the same url for each entry in the feed, rather than giving the url for each one. Also, it’s giving a url as if it were on my website (my server/domain) when the feed is coming from another site. The same permlink tag is linking to the correct url, so why isn’t it displaying the correct url? I’m so confused!
You can see it at http://opalcat.com in the “latest journal entry” section—look at where it says “Go To Entry →” on the screen, then do a print preview—it replaces that with the url. But if you look at the next journal entry, it gives the same url, etc etc etc.
For example, right now the first item in the “Most Recent Journal/Blog Entries:” goes to http://opalcat.livejournal.com/2294130.html (with the <txp:permlink>
tag) yet the displayed url when I do a print preview, using <txp:permlink />
is http://opalcat.com//late-late-for-a-veryimportant-date-well-work-anyway …obviously NOT the same link and also not viable. What’s going on here?
Note: when I tried adding urls to a different feed (that used a different form) later on the same page, it STILL used the same url!
What am I doing wrong? How can I fix it?
Last edited by WebKat (2012-01-20 23:49:44)
—
WebKat
Offline