Some bridges used getName() and getURI() to put information into the
metadatas. Instead the metadatas should be initialized with data and
(not yet done) returned by default via getName() and getURI().
BridgeAbstract will return 3600 seconds by default, so the function
can be removed from any bridge implementing getCacheDuration
returning the same value.
Documentation updated accordingly.
Many bridges implemented getDescription() which is only applicable for
bridges extending RSSExpander.
Functions that are not part of the abstract class or interface should
be in private scope for better readability.
http://www.lemotdujour.com doesn't seem to be active for the last two
years (last entry is dated 17. oct 2014). WordPress will return the
headlines which seems to be sufficient for now.
Some sites contain scripts like these, that were not captured by the
previous implementation:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
Some sites return RSS feeds instead of ATOM feeds even though ATOM
feeds were specifically requested (/feeds/atom)!
This bridge will now detect ATOM/RSS feeds and change behavior
accordingly.
Images from their own servers are linked relatively via 'local/...' we
must replace this for images to point to the correct destination.
Also use strip_tags to get rid of iframes
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
Gurumed.org prevents download of pictures from external domains. For a
feed it is sufficient to see a short description of the article as
provided in the source rss.
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
- Use tab instead of spaces
- Remove obsolete bridge description at start of the file
- Add spaces at the assignment operator ('=' -> ' = ')
- Remove unnecessary empty lines
Fixes warning: "array_key_exists() expects parameter 2 to be array,
string given in /volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 59
Warning: Invalid argument supplied for foreach() in
/volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 64
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This also fixes an error where calling collectData multiple times would
result in an attempt to redeclare all nested functions (which would
cause errors)
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!