Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [Archived] bit_rss

#91 2007-01-24 05:31:28

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [Archived] bit_rss

I’m using rss_auto_excerpt. It works well for this use.

A couple of issues I have run into:

1) if I add a class to style the permalinks to the full article, the links break – they become relative to your site (http://www.yoursite.com//article-title)

2) If the rss has pictures they can’t be styled so the text wraps the picture. At least I haven’t found a way yet.

Offline

#92 2007-01-26 19:55:01

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

@maverick: Are you using rss_auto_excerpt to cut down bit_rss feed articles? How?

If I got the question right then a solutions is needed which produces just an excerpt output from the feed.
Is ist possible to use rss_auto_excerpt instead of txp:body in the bit_rss form?

(rss_auto_excerpt is a GREAT plugin btw)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#93 2007-01-27 01:36:56

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [Archived] bit_rss

merz1

Yes – I am using rss_auto_excerpt to cut down the bit_rss feed to one paragraph.

I replaced the txp:body tag with rss_auto_excerpt.

I don’t know if this is the only, or even the best way to do it. It’s just the way I did it.

Mike

Offline

#94 2007-01-28 10:21:25

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

@maverick: That’s cool. Good to know.

Did you experience any limitations with the rss_auto_excerpt parameters?

The article tags, <txp:title>, <txp:posted>, <txp:body>, and <txp:permlink> will work normally in the form used.
<txp:bit_author> replaces the <txp:author> tag in forms for this plugin.

Are there more known tags to work with the bit_rss form? Of course limited to the use of the RSS feed.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#95 2007-01-29 00:55:16

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: [Archived] bit_rss

@merz1

re:
rss_auto_excerpt: I’ve only used the parameter of paragraphs=‘1’, so I’m afraid I can’t advise on the others.

re: more known tags

Given how bit_rss hands off the content to regular txp tags, I suspect that any tags that can replace the standard txp tags listed above should work. But that is a guess.

As I mentioned earlier, I have found that adding a class to the permalink (whether txp:permlink or a href) causes the link to display the artcile relative to the site – with a double backslash (www.yoursite.com//article_name)

fwiw

I am using bit_rss on the front page of Morocco Church.

About 2/3s of the way down you will see a heading: Leadership University. This is bit_rss with rss_auto_excerpt. Below it is BishopBlog & UB News, which is bit_rss displaying just the permalinks.

The only modification I have made to bit_rss (indirectly that is) is I updated simplepie’s image handler file to the latest version. I tried using the updated simplepie_include file as well, but that stopped my page from loading entirely. I didn’t have time to troubleshoot it, so I reverted to the file from the version that came with bit_rss.

The newer image file seems to be an improvement.

Mike

Last edited by maverick (2007-01-29 00:56:37)

Offline

#96 2007-01-30 10:45:58

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

@bit:

If Send Last-Modified Header is set to yes then new feed entries will not be delivered until a full page reload is requested.

More: If I do a forced reload in the article view I get the new content. (Then) Requesting the homepage with the same content with a standard click I still get the old content (from the browser cache?).

That’s what I see in Firefox2 when I load feeds with bit_rss in an article (not in a page form or article template; I did not check that yet). Seems to be a vicious circle as the article content does not change and bit_rss is only triggered when the article is requested (right?).

The page I am working on: advokathamburg.de where (right now) I am mixing four news feeds. I will now set Send Last-Modified Header to No and watch what happens. It is a very low traffic site so it should not be a problem.

Reproducible?
Changeable?


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#97 2007-02-03 07:26:22

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,389
Website GitHub Mastodon Twitter

Re: [Archived] bit_rss

We use your plugin in extensively in neme.org where we have 3 installs of txp and one punBB forum.
Is there a way to customise the location of the “simplepie_cache” folder – maybe through a preference in the plugin?
What would be great is to have just one simplepie_cache folder serving all installs…


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#98 2007-02-04 17:02:53

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

cache_dir (optional) Absolute path to the SimplePie cache directory. This directory must be writeable.

Default: $txpcfg[‘txpath’].’/tmp’ Example: simplepie=’/var/www/httpdocs/textpattern/tmp’

That should be the right parameter (qouted from the help).

Last edited by merz1 (2007-02-04 17:03:11)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#99 2007-02-04 17:50:08

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: [Archived] bit_rss

merz1 wrote:

That should be the right parameter (qouted from the help).

Yeah, I use the /textpattern/tmp folder for my SimplePie caches, remember to change permissions on it.

There’s also different naming schemes for the cache files:
http://simplepie.org/docs/reference/config/set_cache_name_type/

Last edited by hcgtv (2007-02-04 17:50:35)

Offline

#100 2007-02-04 18:26:53

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

Sorry, I didn’t dive too deep into SimplePie (parameters).

How do you use all those parameters with bit_rss?
Basically, how do you configure SimplePie with bit_rss?
Any How-To available/possible?

Last edited by merz1 (2007-02-04 18:27:36)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#101 2007-02-04 19:26:58

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: [Archived] bit_rss

merz1,

I use the SimplePie Textpattern plugin and make the parameter changes in that plugin, it should be the same for bit_rss.

$feed->cache_max_minutes(30);
$feed->cache_location($txpcfg['txpath'] . '/tmp');

Those are the most common changes I make to the plugin.

Offline

#102 2007-02-04 22:43:29

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

Oh, I will check the source code when needed :-)

Thanks!


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#103 2007-02-28 23:46:24

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: [Archived] bit_rss

Great plugin! :D

One problem: the article title is showing the title of the page not the title of the article. For instance, instead of showing the title “New Plugin! Woohoo!” it’s showing “SomeWebsiteName.com | Some Witty Remark Here” Is there any way to change this?

And is it possible to add a “Next” link to it to show older articles?

Last edited by wordgasm (2007-02-28 23:59:52)

Offline

#104 2007-03-01 15:23:21

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: [Archived] bit_rss

@wordgasm: Did you check the original feed XML?

Testing bit_rss I have found plenty of feeds with wrong XML declarations and/or tagging.

Can you post the examples (bit_rss tag and feed source)?

@bit: Feature request

Exchange XML tags i.e. title=“description” or date=“pubDate”

Example for a stupid feed where this would be needed:
http://www.bverwg.de/enid/rss/pressemitteilungen.rss

Article numbers in title and title in description. Here I would love to have a single (!) feed parameter title=“description”

The feed parameter would look like feed=“feed1, feed2 title=“description”, feed3”.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#105 2007-03-02 18:11:14

wordgasm
Member
Registered: 2006-05-17
Posts: 83
Website

Re: [Archived] bit_rss

Tag: <txp:bit_rss limit="20" feed="http://www.google.com/reader/public/atom/user/13819921661573396583/label/blogs" />

Feed source.

Then they are reposted here — I’m attempting to copy LiveJournal’s friends list using multiple feeds (made possible through Google Reader’s category clips).

Now I see the problem. :P Is it even possible to add multiple feeds (about 30-40) using this plugin?

The feed parameter would look like feed="feed1, feed2 title="description", feed3".

I second demotion!

Offline

  1. Index
  2. » Archives
  3. » [Archived] bit_rss

Board footer

Powered by FluxBB