Search found 160 matches

by feader
07 Jul 2013, 14:14
Forum: Support
Topic: using af_feedmod
Replies: 22
Views: 7626

Re: using af_feedmod

Hi, I have an issue with some french char that does not appear correctly, I try to play with the charset option but with no luck: "lequipe": { "type": "xpath", "xpath": "div[@class='paragr paragraf1']", "force_charset": "ISO-8859-1&qu...
by feader
05 Jul 2013, 00:35
Forum: Support
Topic: Multiple DIVs in af_feedmod
Replies: 4
Views: 1335

Re: Multiple DIVs in af_feedmod

I just wanted to say that newer versions of af_feedmod have a cleanup feature, which can be used to remove tags from the fetched content as an alternative solution to lotrfan's one. However, it seems that there may be a better solution for this, the XPath //div[@class='x460x140 floatingColumns']/div...
by feader
30 Jun 2013, 01:40
Forum: Support
Topic: [Don't look here] Trouble with _debug logging
Replies: 2
Views: 765

Re: Trouble with _debug logging

Don't use _debug() in plugins unless you understand what it does, seriously http://www.lawandenvironment.com/uploads/image/doh%281%29.jpg Yes, you already told me how to do it right. Sorry for bothering :oops: Anyway, have a nice vacation. https://i.chzbgr.com/maxW500/5554798592/h9A57BB66/
by feader
28 Jun 2013, 20:11
Forum: Support
Topic: [Don't look here] Trouble with _debug logging
Replies: 2
Views: 765

[Don't look here] Trouble with _debug logging

I try to make a plugin do some logging, something along the lines of [snip] As a start, I omitted the if and only put a _debug("message"); in the code. I then run into trouble in the GUI Could not update headlines (invalid object received - see error console for details) The error console ...
by feader
25 Jun 2013, 20:47
Forum: Themes and plugins
Topic: Plugin ff_FeedCleaner
Replies: 28
Views: 13994

Re: Plugin ff_FeedCleaner

Should remove just the 2 instances of â if I understand correctly but ttrss still errors at 'Entity 'acirc' not defined' Because it doesn't. I read the whole section on regex syntax on php.net OK. You should have noted then that the regexes need delimiters, so try it with "#^http://f...
by feader
25 Jun 2013, 01:03
Forum: Themes and plugins
Topic: Plugin ff_FeedCleaner
Replies: 28
Views: 13994

Re: Plugin ff_FeedCleaner

Different objects may not have the same key. This is a mistake on my side, in the next version the configuration will consist of unnamed objects with a url key. In the mean time, try dropping letters { "#^http://feeds.feedburner\\.com/1500espn/sportswire/all\\#" : { […] }, "#^http://f...
by feader
16 Jun 2013, 01:21
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

Re: Implicit conversion in loadXML() considered harmful?

AngryChris wrote:[…]

It's entirely possible, however, that the value of $rss is changed as a side effect of the intervening code. I'm not a php guy so I've no idea.

This. Thanks Chris, and sorry if it's an absolutely obvious mistake on my side, fox.
by feader
15 Jun 2013, 23:07
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

Re: Implicit conversion in loadXML() considered harmful?

gbcox wrote:in this case it appears it's already been fixed - you just aren't running the correct version.

:?:
gbcox wrote:The approach of hacking around the errors of others simply isn't reasonable or practical.

You seem to have a nice work environment.
by feader
15 Jun 2013, 23:03
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

Re: Implicit conversion in loadXML() considered harmful?

$rss is not the variable that gets loaded from the cache? You tell me: $rss = false; $rss_hash = false; $force_refetch = isset($_REQUEST["force_refetch"]); if (file_exists($cache_filename) && is_readable($cache_filename) && !$auth_login && !$auth_pass && fi...
by feader
15 Jun 2013, 22:03
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

Re: Implicit conversion in loadXML() considered harmful?

While we're talking so pleasantly, I have another question: In the function update_rss_feed in include/rssfuncs.php, lines 253-275, is the cached feed content ever used because $rss is set to false and never set to true in between, or do I misunderstand something important?
by feader
15 Jun 2013, 21:31
Forum: Themes and plugins
Topic: Plugin ff_FeedCleaner
Replies: 28
Views: 13994

Re: Plugin ff_FeedCleaner

But your iswintercoming feed & example do work - so at least my computer can deal with regex - it is just choking on the sites I want! Strange. With "#^http://feeds\\.bbci\\.co\\.uk/news/rss\\.xml\\?edition=uk#" : { "type" : "regex", "pattern" : "#ne...
by feader
15 Jun 2013, 19:41
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

Re: Implicit conversion in loadXML() considered harmful?

By the way, this could also be implemented as a feed fetched hook plugin. Yeah, it could, and I stumbled over this because I wanted to provide such functionality, but on the other hand: Most probably your php (or the platform php is running on) has incomplete and/or otherwise broken support for ico...
by feader
15 Jun 2013, 19:32
Forum: Themes and plugins
Topic: Plugin ff_FeedCleaner
Replies: 28
Views: 13994

Re: Plugin ff_FeedCleaner

[…] but creating a new feed & applying: "#^http://feeds\\.bbci\\.co\\.uk/news/rss\\.xml?edition=uk#" : { […] Sometimes … the problem is that '?' is a regex meta character, could you try it with "#^http://feeds\\.bbci\\.co\\.uk/news/rss\\.xml\\?edition=uk#" as key?
by feader
15 Jun 2013, 18:53
Forum: Themes and plugins
Topic: Plugin ff_FeedCleaner
Replies: 28
Views: 13994

Re: Plugin ff_FeedCleaner

but creating a new feed & applying: "#^http://feeds\\.bbci\\.co\\.uk/news/rss\\.xml?edition=uk#" : { "type" : "regex", "pattern" : "#news#", "replacement" : "test" } I would have thought should have got lots of tests.... but ...
by feader
15 Jun 2013, 15:58
Forum: Support
Topic: [TRUNK'd] Implicit conversion in loadXML considered harmful?
Replies: 17
Views: 3006

[TRUNK'd] Implicit conversion in loadXML considered harmful?

Like some other guys , I have trouble subscribing to some feeds since fox included a self-written feed parser in 1.7.9. At least for the first two cases, I have found a solution. It seems that on some systems, the encoding conversion that is done by the DOMDocument::loadXML function doesn't work , w...

Go to advanced search