Commit Graph

1411 Commits

Author SHA1 Message Date
Badet Aurélien
4e2591b56a [BridgeAbstract] lighter getExtraInfos and getCachable 2016-12-04 14:23:01 +01:00
Badet Aurélien
1dbf8b2360 Update BridgeAbstract.php 2016-11-30 18:33:12 +01:00
Badet Aurélien
84fe4f6b40 rename $cachable to $cached in setDatas() 2016-11-30 18:31:04 +01:00
Badet Aurélien
15d742e938 [BridgeAbstract] add protected property extraInfos and function getCachable()
create  function getCachable()
modify function setDatas in call to cache->savedata
2016-11-30 18:22:55 +01:00
Badet Aurélien
da82b3090a Merge pull request #9 from griffaurel/Bridge_setExtrainfos
lowercase variable name's first letter in func getExtraInfo
2016-11-28 19:09:02 +01:00
Badet Aurélien
b98b2a7118 lowercase variable name's first letter in func getExtraInfo 2016-11-28 19:07:36 +01:00
Badet Aurélien
db3655519f Merge pull request #8 from griffaurel/Bridges_Formats
Update html.php
2016-11-19 01:11:25 +01:00
Badet Aurélien
0e8e75cec0 Update html.php 2016-11-19 01:10:25 +01:00
Badet Aurélien
441ff61967 Merge pull request #7 from griffaurel/Bridges_Formats
Update html.php
2016-11-19 00:56:43 +01:00
Badet Aurélien
e5062bc5dd Update html.php 2016-11-19 00:55:19 +01:00
Badet Aurélien
69ffba34e8 Update html.php 2016-11-19 00:52:49 +01:00
Badet Aurélien
43fd0b531c Merge pull request #6 from griffaurel/Bridges_Formats
Update html.php
2016-11-19 00:50:41 +01:00
Badet Aurélien
1f82fa7e0f Update html.php 2016-11-19 00:49:33 +01:00
Badet Aurélien
f8296addf6 Merge pull request #5 from griffaurel/Bridges_Formats
Update html.php
2016-11-19 00:46:48 +01:00
Badet Aurélien
7780df282b Update html.php 2016-11-19 00:44:23 +01:00
Badet Aurélien
c7b749422b Merge pull request #4 from griffaurel/Bridges_Formats
Bridges formats
2016-11-19 00:40:35 +01:00
Badet Aurélien
056f2e220d additional check on Bridge's compatibles FORMATS list before showing helperbuttons
If there is errors in compatibles formats list, the malformed formats are skipped.
If there is no compatible format, we use le list of available formats instead.
2016-11-19 00:35:37 +01:00
Badet Aurélien
35c9ff85a3 add const FORMATS = array()
Add a constant FORMATS as a list of compatibles formats.
If the list is set null, all formats are compatibles.
2016-11-19 00:02:37 +01:00
Badet Aurélien
fa359e2c72 Check for Bridge's const FORMATS restrictions before adding helperbuttons 2016-11-18 23:52:16 +01:00
Badet Aurélien
649f326871 Merge pull request #3 from griffaurel/Bridge_setExtrainfos
correction again...
2016-11-18 15:51:41 +01:00
Badet Aurélien
0f79c62567 correction again... 2016-11-18 15:49:56 +01:00
Badet Aurélien
961c99cd3d Merge pull request #2 from griffaurel/Bridge_setExtrainfos
correction in getExtraInfos
2016-11-18 15:45:57 +01:00
Badet Aurélien
5e953c6e4a correction in getExtraInfos 2016-11-18 15:43:46 +01:00
Badet Aurélien
58dabc9c98 Merge pull request #1 from griffaurel/Bridge_setExtrainfos
Bridge GetExtraInfos
2016-11-18 15:32:36 +01:00
Badet Aurélien
1af4c88e32 replace call to $bridge->getName() and $bridge->getURI() by $bridge->getExtraInfos()
replace call to $bridge->getName() and $bridge->getURI() by $bridge->getExtraInfos() defined by default in BridgeAbstract.
So we could pass additionals ExtraInfos from custom bridges to custom formats.
2016-11-18 15:04:06 +01:00
Badet Aurélien
26d05c32c4 add function getExtraInfos() to BridgeAbstract 2016-11-18 14:52:18 +01:00
logmanoriginal
5edba3a1aa Merge branch 'MultipleEnclosures' of https://github.com/logmanoriginal/rss-bridge 2016-11-16 16:55:14 +01:00
logmanoriginal
8d41718553 [HtmlFormat] Update stylesheet for attachments 2016-11-16 16:27:17 +01:00
logmanoriginal
72f40fbd75 [formats] Allow multiple enclosures
All formats now support multiple enclosures. RSS
will show a warning if more than one enclosure
is used since many feed reader don't support
multiple enclosures with RSS (also not clearly
specified in the specification)
2016-11-12 22:04:42 +01:00
logmanoriginal
14c689e7a3 [core] Fix typos 2016-11-09 19:10:40 +01:00
logmanoriginal
84bc9d2da6 Merge branch 'ImproveFormat' of https://github.com/logmanoriginal/rss-bridge 2016-11-09 19:01:17 +01:00
logmanoriginal
42cbc2e889 [formats] Fix enclosures
All bridges failed due to missing 'enclosures' element in
the items array. With this commit all formats (ATOM, RSS
and HTML) provide support for a single 'enclosure' element
2016-11-09 18:59:17 +01:00
logmanoriginal
3a2cb9ea1e [formats] Use custom characterset in all formats
The specified characterset will now apply to all formats
thus allowing other charactersets than 'UTF-8'
2016-11-09 18:43:06 +01:00
logmanoriginal
4f4fb11789 [FormatAbstract] Allow child classes to overwrite DEFAULT_CHARSET
By using 'static' instead of 'self' the constant may
be overridden by child classes.
2016-11-09 18:41:25 +01:00
logmanoriginal
28e813620f [FormatInterface] Add missing public functions
This commit adds all missing functions to the interface
that are defined and implemented as public functions in
FormatAbstract.
2016-11-09 18:41:24 +01:00
LogMANOriginal
fdf98041e3 Merge pull request #428 from mro/feature/xml_escape
CDATA considered harmful.
2016-11-09 18:35:52 +01:00
LogMANOriginal
29e64f77aa Merge pull request #430 from sysadminstory/master
Fix Cache write verification
2016-11-09 18:26:54 +01:00
Gilles Maurer
4dfbc16a5b Fix Cache write verification
PHP operator '===' is the only strict way to mix up the value '0' and
the value 'FALSE'.

The function saveData of the FileCache tests if the write of the cache
files was done with success and raise an Exception if not. The test was
done without the '===' operator, and if the data is 0 bytes long the
error message says there is a permission error, which is false.

A data 0 bytes long is another issue, either in the json_encode function
either in the Bridge, but not a permission issue.
2016-11-09 02:11:22 +01:00
Marcus Rohrmoser
af572341b3 Fix to PR #427 (#429)
* Ouch, sorry.

* fix indentation.
2016-11-08 21:44:54 +00:00
Teromene
51e9298a2b Merge pull request #427 from mro/feature/enclosure
Revive enclosures.
2016-11-08 21:24:44 +00:00
Marcus Rohrmoser
6df657179f CDATA considered harmful.
https://evertpot.com/184/
2016-11-08 22:21:48 +01:00
Marcus Rohrmoser
2ff422d312 Revive enclosures.Reverts 0663c95. Refs #198 #175. 2016-11-08 22:03:51 +01:00
Teromene
1b3efce64d Merge pull request #426 from mro/language
don’t lie about the language.
2016-11-08 00:33:17 +00:00
Marcus Rohrmoser
750812c512 don’t lie about the language. 2016-11-07 23:29:44 +01:00
LogMANOriginal
71fc854663 Update README.md 2016-11-06 14:03:28 +01:00
logmanoriginal
120612424c [CHANGELOG] Update changelog 2016-11-06 14:00:10 +01:00
LogMANOriginal
33ecaa0b7b Merge pull request #425 from mro/readme
PHP settings
2016-11-06 13:12:44 +01:00
Marcus Rohrmoser
7ce57aefbe PHP settings 2016-11-05 21:33:31 +01:00
logmanoriginal
72981032e4 [Arte7] Fix broken feed 2016-11-05 18:24:04 +01:00
logmanoriginal
d06006d681 Merge branch 'VersionChecks' of https://github.com/logmanoriginal/rss-bridge 2016-11-05 13:11:31 +01:00