changing Wallabag.it -> framabag.org

An RSS/Atom newsreader with features comparable to commercial newsreaders.
Post Reply
bhyde
Harmless
Posts: 11
Joined: Sat Sep 01, 2007 2:06 am

changing Wallabag.it -> framabag.org

Post by bhyde »

Those in the know, know that you can customize the tool bar via a item in the View menu.

One of the tools/buttons you can add will save articles to Wallabag.it.

I prefer to use Framabag.org. It is the same code as Wallabag.it, but I prefer it's governance and pricing.

So, I was delight to be able to puzzle out how to change the Wallabag tool into one that uses Framabag.

The Wallabag tool is just a wrapper around the Wallabag bookmarket, so the trick is to change the URL used in it.

You need to modify this file: /Applications/Vienna.app/Contents/SharedSupport/Plugins/ShareWithWallabag/info.plist

In there you'll see line with the Wallabag URL scheme, it looks like this:

Code: Select all

<string>https://app.wallabag.it/bookmarklet?url=$ArticleLink$</string>
And you'll want to change it to look like so:

Code: Select all

<string>https://framabag.org/bookmarklet?url=$ArticleLink$</string>
Or you can overwrite the entire file with my version, which changes some of the strings used in the UI.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>ButtonImage</key>
	<string>WallabagButton</string>
	<key>Default</key>
	<false/>
	<key>FriendlyName</key>
	<string>framabag</string>
	<key>MenuPath</key>
	<string>Share with framabag.org</string>
	<key>Name</key>
	<string>ShareWithFramabag</string>
	<key>Tooltip</key>
	<string>Add the current article to framabag.org</string>
	<key>Type</key>
	<string>Link</string>
	<key>URL</key>
	<string>https://framabag.org/bookmarklet?url=$ArticleLink$</string>
</dict>
</plist>
For bonus points, I guess, somebody could create another tools just for Framabag.
Post Reply