Commit graph

13 commits

Author SHA1 Message Date
Dave Zaikos
c6ce584dd5 Changed how the enclosures array is checked for content so an empty array is not processed. Fixes a change from the previous branch commit. 2014-05-12 13:54:04 -04:00
Dave Zaikos
2bb11658a8 Added HOOK_FORMAT_ENCLOSURES plugin hook.
Runs HTML and enclosures array through a plugin hook when rendering an article's enclosures in format_article_enclosures(). Allows plugins to override handling of how enclosures are presented by either filtering the array of enclosures, or generating the HTML to add to the article content.
2014-05-12 00:59:27 -04:00
Rob Hoelz
9a6456fa12 Stop after first search plugin
The sanity check should have caught any extra ones, but it doesn't
hurt to be careful
2014-04-23 04:50:09 +00:00
Rob Hoelz
baaf4c3043 Make search mechanism pluggable
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching.  It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged.  This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active.  The Sphinx search behavior has been
broken out into a plugin.
2014-04-23 04:49:54 +00:00
Andrew Dolgov
84e36b61a3 make_init_params: add plugins 2014-03-14 15:06:37 +04:00
Andrew Dolgov
3e8a79be6d make_init_params: add theme 2014-03-14 14:51:12 +04:00
Andrew Dolgov
31460f84fe make_init_params: add some additional information useful for reporting 2014-03-14 14:38:51 +04:00
Andrew Dolgov
ad593e4393 disable headlines grouping for recently read vfeed 2014-03-13 01:07:52 +04:00
Andrew Dolgov
99c19e1dcb start_ts for feeds: use date_entered for consistency 2014-03-10 02:19:26 +04:00
Andrew Dolgov
d1e631f301 generated feeds, add ts= (strtotime) start timestamp 2014-03-09 21:48:22 +04:00
Andrew Dolgov
16c4803251 Revert "get_feeds_from_html: add rel='alternate feed'"
This reverts commit 526e1d80be.
2014-03-05 18:49:52 +04:00
Andrew Dolgov
526e1d80be get_feeds_from_html: add rel='alternate feed' 2014-03-05 18:34:13 +04:00
Andrew Dolgov
97b7d5c038 split functions php into two parts because syntastic is too slow
get_feeds_from_html: stricter feed detection based on whatwg guidelines
2014-03-05 16:48:41 +04:00