Commit Graph

17 Commits

Author SHA1 Message Date
Andreas Gohr c472ace45f PSR2 cleanup for the feedparser override
It might be a good idea to namespace the FeedParser class itself in the
future
2019-02-24 09:27:58 +01:00
Andreas Gohr aba86f383f visibility fixes
First start at declaring visibilites for methods and properties. Still
missing: the parser/renderer stuff and the plugins
2018-04-27 20:02:24 +02:00
Andreas Gohr b4f2363aa1 remove DOKU_INC checks
There is no need for this check, since these files should not have any
main code that is executed on direct call.

Fixes PSR1.Files.SideEffects.FoundWithSymbols
2018-04-27 14:32:42 +02:00
Takamura f50a239b3b I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc. 2017-03-31 09:33:33 +02:00
Andreas Gohr 59b616ccfd updated SimplePie and moved to composer based install. #1800
This updates the SimplePie RSS parser to the recent 1.4.3 release,
fixing an PHP 7 bug (and probably others). We now use a composer based
install.
2017-01-18 19:02:50 +01:00
Andreas Gohr b75f4cc2b2 upgraded SimplePie to 1.3.1 FS#2708 2013-02-03 22:14:16 +01:00
Andreas Gohr 931a41b3c0 don't run SimplePie_File constructor FS#2348 2011-10-14 14:04:36 +02:00
Michael Hamann 8c02f82246 Ignore warnings in the constructor of SimplePie_File
This ignores warnings because of the (intentionally) missing url
parameter for the constructor of SimplePie_File.
2011-06-26 14:59:32 +02:00
Guillaume Turri 91d55b797a First step to upgrade to SimplePie 1.2 2010-11-21 12:16:21 +01:00
Andreas Gohr 1690534421 first attempt to centralize all include loading
Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and Plugin stuff isn't handled by the class loader yet.
2010-01-31 19:02:14 +01:00
Andreas Gohr fa8adffee3 removed some illogical path setups
darcs-hash:20081213090400-7ad00-4e21cd75978bb07513f32f5d750658e8d777c59e.gz
2008-12-13 10:04:00 +01:00
Andreas Gohr b16139af2d tiny compatibility fix for FeedParser
This should make older plugins working with a SimplePie Beta wor with Dokuwiki's
current SimplePie version

darcs-hash:20071015121248-7ad00-08a8be1f16649626cada3135e9d18c872689eed8.gz
2007-10-15 14:12:48 +02:00
Andreas Gohr 009768124d don't use realpath() anymore (FS#1261 and others)
The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.

This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.

darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
2007-09-30 20:42:50 +02:00
Andreas Gohr 00077af8cc SimplePie upgrade to 1.0
darcs-hash:20070719080638-7ad00-5b69a4e568291a2e2479a7a09743be3157a7d114.gz
2007-07-19 10:06:38 +02:00
Andreas Gohr a307fd7ad7 fix for the new SimplePie
SimplePie changed the method to fetch the feed, this patch restores the usage
of DokuWiki's own HTTP client.

darcs-hash:20070312203419-7ad00-a3ef0c6d810d59f618165b3968e61b6d8a5a68a0.gz
2007-03-12 21:34:19 +01:00
Andreas Gohr ec79c83863 Feedfetcher/HTTPClient fix
This fixes a typo which made the new Feedparser not use our own HTTPClient.
It also enhances the get() method of HTTPClient to optionally cope better
with bad HTTP responses:

Some servers return a body with a "304 Not Modified" status which violates
RFC 2616 but is usually accepted by common browsers. Setting the $sloppy304
parameter will return the response body. This fixes problems with feeds
from feedblendr.com

darcs-hash:20060429155805-7ad00-33a1c3142f241bf7747e8f679237cb6e8f1564ef.gz
2006-04-29 17:58:05 +02:00
Andreas Gohr 5f9846d0a9 add missing FeedParser.php #782
darcs-hash:20060417160453-7ad00-e54322159dbe1c1c75cd2c8494fda14a3f4bc021.gz
2006-04-17 18:04:53 +02:00