Mirror of TT-RSS but with manual pull to follow a seam-less versionning
Go to file
Andrew Dolgov a1af157410 Fix several problems with image download
Fix fetch_file_contents, so that it returns the contents even if the data isn't
an image. This is needed because the get_favicon_url function tries to download
the webpage using this function, to see if there is a favicon in the page.

The function now takes an optional $type parameter. This parameter control if
the calling function cares about the content-type, or if the function should
just return everything. If the $type parameter is set, the content-type should
contain the string contained in $type, otherwise the function returns false.

The second problem solved with this patch, is that the temporary file that
should contain the image was empty in some cases. I never found out why this
happended, but as curl_exec is capable of returning the fetched data, thus
eliminating the need for the temporary file all together, the function have
been changed to use this way of obtaining the data.

The last problem fixed by this patch is that curl will now follow redirects.

Author: Klaus S. Madsen <ksm@42.dk>
2010-04-22 10:10:49 +04:00
api api: fix wrong sql syntax in getFeeds 2010-04-19 09:50:43 +04:00
extras/button merge two patches: STRIP_IMAGES and ENABLE_FLASH_PLAYER from Sten (bump schema) 2008-08-01 04:38:17 +01:00
help add hotkey (f x) to reverse headlines order (closes #262) 2010-02-18 16:05:35 +03:00
icons add icons subdirectory 2009-01-31 15:42:33 +03:00
images neon updates; make more icons themeable; misc fixes 2010-01-14 23:09:23 +03:00
lib move some aux files to lib/ 2009-12-21 21:28:18 +03:00
locale update it_IT translation 2010-04-22 10:05:19 +04:00
mobile properly check for entry id array being present before iterating it in mobile/classic (closes #267) 2010-04-07 11:46:39 +04:00
modules oh, you have to end braces? fascinating. 2010-04-10 08:32:37 -04:00
schema allow filtering by article author (bump schema) 2010-03-23 14:38:58 +03:00
templates resetpass: add template 2008-05-18 08:33:11 +01:00
themes add updated triple-pane theme 2010-02-16 13:28:31 +03:00
utils notifier: fix icons; support single-user mode 2010-02-19 23:33:15 +03:00
LICENSE add LICENSE 2008-12-29 06:43:39 +01:00
README bump copyright year 2010-01-13 13:48:37 +03:00
backend.php backend: if fresh=1 parameter to getUnread is present, append output of fresh feed 2010-02-17 16:22:36 +03:00
compat.php add dummy plug for mb_strtolower 2007-05-19 06:09:25 +01:00
config.php-dist enable translations by default; misc fixes 2010-01-25 23:12:08 +03:00
db-prefs.php set_pref: fix typo 2010-01-13 21:33:31 +03:00
db.php db: remove obsolete _2 functions 2010-02-03 15:07:21 +03:00
errors.php code cleanup, test for db_escape() crazyness in DB sanity check 2008-11-10 06:29:19 +01:00
feedlist.js code cleanup 2010-02-03 16:35:16 +03:00
functions.js fix unsubscribeFeed behaving improperly in preferences 2010-02-15 15:16:53 +03:00
functions.php Fix several problems with image download 2010-04-22 10:10:49 +04:00
gears_init.js gears: add support files 2009-02-02 13:45:33 +03:00
image.php move simplepie/ to lib 2009-01-22 14:31:24 +01:00
index.php add php-gettext, i18n stuff 2007-03-05 09:37:13 +01:00
localized_js.php localized_js: disable when translations are disabled in config.php 2010-01-13 21:38:18 +03:00
localized_schema.php add per-user option to enable access to API 2009-12-16 14:36:59 +03:00
login_form.php IE: fix being unable to login 2010-01-25 23:25:56 +03:00
logout.php logout fixes 2007-03-01 13:34:03 +01:00
manifest.json.php neon updates; make more icons themeable; misc fixes 2010-01-14 23:09:23 +03:00
offline.js code cleanup 2010-02-03 16:35:16 +03:00
opml.php adding text attribute to categories 2010-04-12 22:38:51 -04:00
prefs.js adding in the backend connection bits so that the dialog works 2010-04-09 20:04:57 -04:00
prefs.php neon updates; make more icons themeable; misc fixes 2010-01-14 23:09:23 +03:00
register.php register.php: remove short php tags 2009-12-24 15:46:57 +03:00
rss.xsl move some aux files to lib/ 2009-12-21 21:28:18 +03:00
sanity_check.php allow filtering by article author (bump schema) 2010-03-23 14:38:58 +03:00
sessions.php remove unused variable references 2010-03-29 11:26:51 +04:00
tt-rss.css feedlist: replace a elements with spans 2010-02-15 14:18:31 +03:00
tt-rss.js add hotkey (f x) to reverse headlines order (closes #262) 2010-02-18 16:05:35 +03:00
tt-rss.php code cleanup 2010-02-03 16:06:24 +03:00
update-translations.sh update translations 2010-02-18 16:07:49 +03:00
update.php code cleanup, test for db_escape() crazyness in DB sanity check 2008-11-10 06:29:19 +01:00
update_daemon.php daemon: fallback automatically when pcntl_signal() is not present 2010-03-22 11:17:58 +03:00
update_daemon2.php remove custom hardcoded cache destinations in various daemon scripts 2010-04-14 14:18:13 +04:00
update_daemon_loop.php remove custom hardcoded cache destinations in various daemon scripts 2010-04-14 14:18:13 +04:00
update_feedbrowser.php make update scripts executable 2009-01-31 19:02:16 +03:00
update_feeds.php remove custom hardcoded cache destinations in various daemon scripts 2010-04-14 14:18:13 +04:00
utility.css label help tweaks 2008-01-11 08:18:19 +01:00
version.php release 1.4.1 2010-03-22 22:16:21 +03:00
viewfeed.js code cleanup 2010-02-03 16:35:16 +03:00

README

Tiny Tiny RSS
=============

Web-based news feed aggregator, designed to allow you to read news from 
any location, while feeling as close to a real desktop application as possible.

http://tt-rss.org

Licensed under GNU GPL version 2

Copyright (c) 2005-2010 Andrew Dolgov (unless explicitly stated otherwise).

Requirements
============

	* Compatible web browser (http://tt-rss.org/wiki/CompatibleBrowsers)
	* Web server, for example Apache
	* PHP (with support for mbstring functions)
	* PostgreSQL (tested on 8.3) or MySQL (InnoDB and version 4.1+ required)
		
Installation Notes
==================

	http://tt-rss.org/wiki/InstallationNotes

See also
========

	* FAQ:				http://tt-rss.org/wiki/FrequentlyAskedQuestions
	* Forum:				http://tt-rss.org/forum
	* Wiki:				http://tt-rss.org/wiki/WikiStart

Contact
=======

Send your questions, comments, patches to Andrew Dolgov <cthulhoo(at)gmail.com>