Textpattern Forum

You are not logged in. Register | Login | Help

#211 2012-01-06 01:09:03

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: [Archived] bit_rss

The rah_function code is working right now. Ultimately I’d like to upgrade to the newer rss plugin, but I need some hand-holding for that (I posted in that thread).



WebKat

Offline

#212 2012-01-18 18:25:43

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: [Archived] bit_rss

I’m still planning on eventually getting moved over to aks_rss, but in the meantime I was wondering if it’s possible to format this feed the way I want to… here is the raw feed: http://fff.fathom.org/forums/external.php?type=rss2

You’ll notice that there are things like <dc:creator>sangfroid</dc:creator> in it, which is the username of the person who created that post. I’d like to include that in my feed on my page… Can I? Is it possible? Here is my current form:

        <div class="line_spacing"><span class="forum_title">"<txp:permlink><txp:title /></txp:permlink>"</span>, <span class="small"><em>latest post <txp:posted format="%m/%d/%Y" /> at <txp:posted format="%l:%M %P" /></em></span> <span class="smallcaps"> ~    
 <txp:permlink>Read Thread</txp:permlink> &rarr;</span><br /></div>

Which results in entries like this: "Paper or Plastic?", latest post 01/07/2012 at 04:17 PM ~ Read Thread →

I’d like them to be more like this: "Paper or Plastic?", latest post 01/07/2012 at 04:17 PM by [name] ~ Read Thread →

Is this possible, and if so, how?



WebKat

Offline

#213 2012-01-20 21:38:52

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: [Archived] bit_rss

I have another problem… 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> &rarr;</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?
What am I doing wrong?

Last edited by WebKat (2012-01-20 23:45:46)



WebKat

Offline

Board footer

Powered by FluxBB