Extend OPML export to prompt for filename, and settings

Development-related discussion, including bundled plugins
meyercr
Bear Rating Trainee
Bear Rating Trainee
Posts: 9
Joined: 30 Jul 2011, 03:03

Extend OPML export to prompt for filename, and settings

Postby meyercr » 31 Jul 2011, 04:47

I have a development server in the basement, and production on the net. In moving feeds between sites
I noticed that the "Export OPML" button always returned a file named: "opml.php". This got confusing really quickly.
I wanted all the feeds, minus the settings, with a unique name.

The original look-n-feel:
Original-LNF.jpg
Original Look-N-Feel
Original-LNF.jpg (107.03 KiB) Viewed 2264 times


So I extended the OPML preference pane.

It now suggests a name TinyTinyRSS.opml, and also asks if you want the settings included in the output (Default is: Yes)

Here is how it looks now:
ExtendedOPML-LNF.jpg
Extended OPML Export screen
ExtendedOPML-LNF.jpg (113.4 KiB) Viewed 2264 times


I made the mistake of including this extension with the fixes I also made. I have now separated this into 2 commits at GitHub

Just the fixes is: https://github.com/meyercr/Tiny-Tiny-RS ... 743e0a80f7

The OPML Extension (after the fixes) is: https://github.com/meyercr/Tiny-Tiny-RS ... eb2939389a

- Craig

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

Re: Extend OPML export to prompt for filename, and settings

Postby fox » 03 Aug 2011, 18:38

Yeah it really took me a while to notice this in the moderation queue. :D


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests