Plugin to import Starred/Shared from Google Reader

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
User avatar
sancho1234
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 30 Mar 2013, 04:19
Location: Hungary
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby sancho1234 » 30 Mar 2013, 17:02

Sorry, I can't import the json files. :oops:

I selected the starred.json (2.3MB) from the Import menu, after I received an error message as No file uploaded.

The shared.json (19MB): {"error":{"code":7}}

How can I run the ./update.php --greader_import starred.json command? Where? :|

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 30 Mar 2013, 17:07

Are you on some gimped shared hosting or something? Looks like php uploads don't work properly.

>How can I run the ./update.php --greader_import starred.json command? Where?

You'll need shell access to the host where tt-rss is installed, then you just run it from tt-rss directory.

User avatar
sancho1234
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 30 Mar 2013, 04:19
Location: Hungary
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby sancho1234 » 30 Mar 2013, 17:22


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 30 Mar 2013, 17:37

apt-get install php5-cli?

You should be able to run it like /usr/bin/php5 ./update.php

User avatar
sancho1234
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 30 Mar 2013, 04:19
Location: Hungary
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby sancho1234 » 30 Mar 2013, 17:48


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 30 Mar 2013, 17:51

I would suggest reading the first post to the end.

User avatar
sancho1234
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 30 Mar 2013, 04:19
Location: Hungary
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby sancho1234 » 30 Mar 2013, 18:00


User avatar
sancho1234
Bear Rating Trainee
Bear Rating Trainee
Posts: 44
Joined: 30 Mar 2013, 04:19
Location: Hungary
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby sancho1234 » 31 Mar 2013, 01:04


User avatar
bedouin
Bear Rating Trainee
Bear Rating Trainee
Posts: 8
Joined: 30 Mar 2013, 23:43

Re: Plugin to import Starred/Shared from Google Reader

Postby bedouin » 31 Mar 2013, 01:15

I received this error while using the web interface to import starred.json:

Query INSERT INTO ttrss_user_entries (ref_id, uuid, feed_id, orig_feed_id, owner_uid, marked, tag_cache, label_cache, last_read, note, unread, last_marked) VALUES ('1078', '', NULL, 38, 2, true, '', '', NOW(), '', false, NOW()) failed: Cannot add or update a child row: a foreign key constraint fails (`ttrss`.`ttrss_user_entries`, CONSTRAINT `ttrss_user_entries_ibfk_3` FOREIGN KEY (`orig_feed_id`) REFERENCES `ttrss_archived_feeds` (`id`) ON DELETE SET NULL)

I tried the command line method and got a file not found error. Somehow, I ended up with all my starred items but I'm not sure which method actually got them there. I'm not entirely sure if my shared items made it in either. My shared items were also starred, but I don't see anything in the published category.

Go figure I guess.

lachlan-00
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 31 Mar 2013, 03:13

Re: Plugin to import Starred/Shared from Google Reader

Postby lachlan-00 » 31 Mar 2013, 03:15

cli runs without any errors but has actually deleted all my existing starred items.

web interface doesn't work spouting an opml error "could not parse document".

sirkingchase
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 30 Mar 2013, 21:09

Re: Plugin to import Starred/Shared from Google Reader

Postby sirkingchase » 31 Mar 2013, 07:11

Just out of curiosity, does this import your google reader feeds?

Iev already "moved over" from reader and deleted all my feeds from it. An import function would have been nice for making the transition.

I never used "star" or "share", honestly I never know what it did.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 31 Mar 2013, 09:27

>I tried the command line method and got a file not found error.

I have no idea why this happens to some people. It should be some knob in PHP configuration which you have disabled or enabled.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 31 Mar 2013, 09:37


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 31 Mar 2013, 09:39


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Plugin to import Starred/Shared from Google Reader

Postby fox » 31 Mar 2013, 09:53

(SQL foreign key problem should be fixed now)

Edit: added basic FAQ


Return to “Support”

Who is online

Users browsing this forum: Google [Bot] and 12 guests