Walter Barrett
704a87ad97
Icons: Allow Bridge-specified icons ( #788 )
2018-08-21 17:46:47 +02:00
Eugene Molotov
f8c6400373
[HtmlFormat] Hide "Categories" label, if array of categories is empty ( #765 )
2018-08-09 16:46:53 +02:00
Eugene Molotov
049ee52fb5
Implemented feed item categories ( #746 )
2018-07-16 12:32:24 +02:00
logmanoriginal
42c699f474
formats: Fix favicon not found if url contains path
2018-06-30 10:27:05 +02:00
teromene
9b34b68180
Do not use an external service in order to fetch the favicon.
2018-05-05 13:55:38 +01:00
logmanoriginal
a4b9611e66
[phpcs] Add missing rules
...
- Do not add spaces after opening or before closing parenthesis
// Wrong
if( !is_null($var) ) {
...
}
// Right
if(!is_null($var)) {
...
}
- Add space after closing parenthesis
// Wrong
if(true){
...
}
// Right
if(true) {
...
}
- Add body into new line
- Close body in new line
// Wrong
if(true) { ... }
// Right
if(true) {
...
}
Notice: Spaces after keywords are not detected:
// Wrong (not detected)
// -> space after 'if' and missing space after 'else'
if (true) {
...
} else{
...
}
// Right
if(true) {
...
} else {
...
}
2017-07-29 19:55:12 +02:00
Teromene
1a4c3f4418
Add a search bar to simplify looking for a bridge. ( #494 )
...
* Add a search bar to simplify looking for a bridge.
* Fix phpcs line length.
* Change the phpcs config.
2017-03-21 20:31:10 +00: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
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
fdf98041e3
Merge pull request #428 from mro/feature/xml_escape
...
CDATA considered harmful.
2016-11-09 18:35:52 +01:00
Marcus Rohrmoser
af572341b3
Fix to PR #427 ( #429 )
...
* Ouch, sorry.
* fix indentation.
2016-11-08 21:44:54 +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
Marcus Rohrmoser
750812c512
don’t lie about the language.
2016-11-07 23:29:44 +01:00
logmanoriginal
ab16af631e
[core] Apply some fixes
2016-09-10 21:01:02 +02:00
logmanoriginal
62eec43980
[core] Apply common indentation
...
All files are now using tabs for indentation
2016-09-10 20:41:11 +02:00
logmanoriginal
e46a480c5d
[MrssFormat] Add icon to feed
2016-08-29 20:06:36 +02:00
logmanoriginal
5d0ee926a5
[JsonFormat] Remove obsolete FIXME
...
We don't need to convert fields that are NULL, since
json_encode will correctly encode those fields.
2016-08-29 19:57:10 +02:00
logmanoriginal
cf146523be
[formats] Rename variable 'data' to 'item'
...
This makes the intend of the variable more clear and is now
coherent with all Bridges
2016-08-29 19:47:21 +02:00
logmanoriginal
a84016bcb6
[core] Rename item getter/setter
...
getDatas -> getItems
setDatas -> setItems
Note: Bridge->setDatas actually sets data, where Bridge->getItems
only returns items (this is why Bridge->setDatas was not changed)
2016-08-29 19:42:58 +02:00
logmanoriginal
1e9b5c8611
[formats] Remove all unnecessary code comments
2016-08-29 19:24:31 +02:00
logmanoriginal
059b099436
[formats] Fix missing element conditions
...
This fixes download behavior when requesting Atom/Mrss formats,
which was caused by is_null attempting to expand missing array
elements.
2016-08-29 19:05:41 +02:00
logmanoriginal
7961f8081e
[HtmlFormat] Revert use of filter_input to $_SERVER
...
https://bugs.php.net/bug.php?id=49184
indicates a verified (not solved) bug where filter_input returns
NULL when used with INPUT_SERVER
2016-08-23 19:46:41 +02:00
logmanoriginal
9173e7da54
[HtmlFormat] Fix format query replacements
2016-08-23 18:36:49 +02:00
Pierre Mazière
eb3392db82
[core] simplify dynamic formats discovery
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 14:29:53 +02:00
logmanoriginal
1f3361c6b4
[formats] Change item to associative array
...
Previously the item class was used to dump literaly any data
into an object. The same can be archived by using an array
with named keys (associative array).
Technically it makes more sense to use an array as we want to
be able to store any parameter into our item.
2016-08-22 18:54:36 +02:00
logmanoriginal
d79366f479
[HtmlFormat] Add button for MRSS feed
2016-08-09 17:18:16 +02:00
logmanoriginal
606e756bc1
formats: Use same general entity generation order
2016-08-09 17:12:28 +02:00
logmanoriginal
0d94f1fe0e
[MrssFormat] Use XML encoding on data
2016-08-09 17:05:29 +02:00
logmanoriginal
8b468e94a8
[AtomFormat] Use XML encoding instead of CDATA section
2016-08-09 17:02:45 +02:00
logmanoriginal
ae716abf65
[MrssFormat] Remove unused and create default URI if non defined
2016-08-09 16:49:27 +02:00
logmanoriginal
368fc66fbf
[AtomFormat] Use default feed URI if non defined
2016-08-09 16:45:33 +02:00
logmanoriginal
e3c578510b
[AtomFormat] Change xml_encode($) to private scope
2016-08-09 16:36:31 +02:00
logmanoriginal
be487a6950
[MrssFormat] Link channel to rss-bridge host
...
This is the same behavior as in AtomFormat
2016-08-09 16:27:32 +02:00
logmanoriginal
4806092b9f
[AtomFormat] Fix default value for author
2016-08-09 14:29:44 +02:00
logmanoriginal
8c21769078
[AtomFormat] Use $item->author for author name
...
$item->name was inteded as the author name and $item->author as the author
uri.
Bridges use $item->name and $item->author interchangably for author name,
so $item->name can be removed.
$item->author is now used for the author name!
2016-08-08 23:43:38 +02:00
logmanoriginal
f3eefab475
[MrssFormat] Remove media:title and media:content
...
Both items only make sense in combination with media:content.
This subsequently eradicates $item->thumbnailUri.
2016-08-08 23:28:50 +02:00
logmanoriginal
0663c9507f
[AtomFormat] Remove enclosures
...
This feature was implemented for AtomFormat only and implemented by no
bridge other than DemoBridge.
2016-08-08 22:43:53 +02:00
logmanoriginal
82f06ad2c5
[HtmlFormat] Add anchor for bridge URI to title
2016-08-07 15:29:59 +02:00
logmanoriginal
d98a7d6644
[HtmlFormat] Return to bridge #id when pressing 'back to rss-bridge'
2016-08-07 14:55:58 +02:00
Teromene
d6e7b75b42
Re-add rss feed link.
2016-08-03 22:01:44 +02:00
Teromene
1b02330302
Improved style for HtmlFormat.
2016-08-03 20:07:49 +02:00
Albirew
b0c15c3377
Alternative for g.etfv.co favicon services
...
g.etfv.co favicon services seems to be down since some time
I replaced it with another open source project: besticon
sauce: https://github.com/mat/besticon
2016-02-28 11:25:56 +01:00
teromene@teromene.fr
26e02ef3b6
Pretty-printing the output of JsonFormat.
2016-02-19 16:15:06 +00:00
Paul de Rosanbo
f22b4b33df
Fix notice about undefined variable
2016-01-21 14:33:49 +01:00
Teromene
4deefdfd7d
Add enclosures support, see example in DemoBridge.
2016-01-19 12:34:38 +00:00
Mitsukarenai
372ddf2792
Core: add author to HTML output format
2015-10-13 18:04:45 +02:00
ORelio
88bf15e46c
Add Author into MrssFormat
2015-09-04 18:33:22 +02:00
Mitsu
76907287f0
Merge pull request #115 from nel50n/media-rss
...
Media RSS
2015-04-24 17:32:02 +02:00