The plugin is bundled with 1.7.6 and newer, but there might be a few fixes in trunk on top of that, so it's recommended if
you used the following URLs to download the newest version, especially if importing fails for some reason.
1. Download the following two files (direct links):
https://raw.github.com/gothfox/Tiny-Tin ... rt/init.js
https://raw.github.com/gothfox/Tiny-Tin ... t/init.php
2. Place the files in plugins/googlereaderimport
3. Enable plugin in Preferences -> Plugins
4. Reload tt-rss
5. Go to Preferences -> Feeds -> Import starred/shared from Google Reader
6. Import your files - if the file is named starred.json, the contents will automatically starred, otherwise stuff will appear in archived feed
Meaningful data from JSON categories object will be automatically converted to tt-rss tags:
Code: Select all
"categories" : [ "InDesign" ],
If your shared/starred.json is too huge and importer crashes with timeout, I've also added command line mode.
To use it, plugin should be added to config.php constant PLUGINS. Afterwards, you can run ./update.php --greader_import FILENAME.
FAQ
Q: Can I import my feeds with this?
A: Use opml-format XML file included in your Google Takeout .zip and feed it to OPML importer in Preferences -> Feeds.
Q: I can't upload/open files
A: This might be something with your PHP configuration. Your hosting provider can disable a lot of stuff in PHP, including file uploads. You can read this for more information: http://www.madirish.net/199
Q: Other file-related problems
A: If you are running update.php from the command line make sure you are actually using PHP command line interpreter, not CGI binary or anything else weird.
Dead giveaway for this would be HTTP headers being displayed:
Code: Select all
madoka:tt-rss% /usr/bin/php5-cgi ./update.php
X-Powered-By: PHP/5.3.3-7+squeeze14
Content-Language: auto
Content-Type: text/html; charset=
This is not supported and you shouldn't do that. If you don't know how to invoke PHP command line binary contact your hosting support.
Update: If you can't access PHP CLI interpreter and have to run the CGI binary as described above, but running importer complains about file not found, use this workaround (link or page 4 of this thread): viewtopic.php?f=21&t=1573&p=7853#p7849
Sometimes if your files are sufficiently large you might get a "file not found" or "file not uploaded" error because file size is limited by PHP, see this post:
viewtopic.php?f=21&t=1573&start=45#p8255
Q: The plugin sucks and doesn't work - are there alternatives?
A: Check this thread out for another importer: viewtopic.php?f=1&t=1087