Commit graph

34 commits

Author SHA1 Message Date
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
Marcus Rohrmoser
0890b52b4c properly escape atom xml. Refs https://github.com/sebsauvage/rss-bridge/issues/123 2015-04-24 17:14:17 +02:00
nel50n
c8dccf76a6 New Format : Media RSS 2015-03-02 22:35:02 +01:00
Mitsukarenai
119c30b999 fix AtomFormat elements escaping 2014-10-27 15:16:39 +01:00
Julien Desgats
a8c5c05d37 Fixed HTML escaping for Atom items 2014-10-21 14:55:18 -04:00
Damien Calesse
c06343128a SoundcloudBridge & Add icon to Atom Format 2014-07-24 13:51:42 +02:00
Mitsukarenai
0874e13824 Improve HTML output 2014-05-28 16:57:30 +02:00
Mitsukarenai
e81a19a04b [pull] date fallback for ATOM format 2014-05-14 14:27:57 +02:00
Sebastien SAUVAGE
4bf90735ef Corrections
* Corrected GoogleBridge (URI extraction was incorrect)
* Corrected ATOM format:
* mime-type was incorrect
* Hyperlinks were not clickable.
* non-UTF8 characters are now properly filtered.
* Corrected HTML format output:
* Hyperlinks were not clickable.
* Corrected error message when SimpleHtmlDom library is not installed.
* Added changelog.
2013-08-12 22:37:19 +02:00
Yves ASTIER
927b04dfef Refonte du code 2013-08-11 13:30:41 +02:00