cortig wrote:I sent an e-mail to Mike DiMicco to see if he was OK with me sharing the plugin.
cortig wrote:A Link plugin would have been the easiest though. Couldn’t Vienna automatically parse encoded text for the URL? Wouldn’t it work in all cases then?
Michael Ströck wrote:I'll look at the problem you reported. Remember, this is a beta :-)
Michael Ströck wrote:I do not have Papers installed. Just to be sure, before I download Papers and start working on this: Where does it break, exactly? You mentioned the "?" character - if it breaks there, that's Paper's bug. That's a perfectly legal character in URIs. Actually, it would be wrong to encode it. The same goes for "&".
cortig wrote:Well I don’t know exactly since I can’t see the URL of the page in Papers. All I can tell you is that I’m systematically redirected to the root of the site if I make a Link plugin, but it works just fine through the Script plugin I made.
Michael Ströck wrote:OK, I see. I still think this is Paper's bug - "http://www.ncbi.nlm.nih.gov/pubmed/19827607?dopt=Abstract" is a legal URL - nothing to encode there. I just put our URL encoding through its paces. For example:
www.özéarñ.com/there be spaces.cgi?text=Hello Günter¡ (an IDN with other crazy stuff)
correctly encodes to
http://www.xn--zar-bma6bza.com/there%20be%20spaces.cgi?text=Hello%20G%C3%BCnter%C2%A1
Sorry, nothing I can do here.
cortig wrote:
I wasn’t talking about UTF-8 or other encoding. I was referring to translating some special characters such as , / ? : @ & = + $ #
<?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>Name</key>
<string>ShareWithPapers</string>
<key>Default</key>
<true/>
<key>Type</key>
<string>Link</string>
<key>URL</key>
<string>papers://url/$ArticleLink$</string>
<key>FriendlyName</key>
<string>Papers</string>
<key>Tooltip</key>
<string>Share the current article with Papers</string>
<key>ButtonImage</key>
<string>PapersButton</string>
<key>MenuPath</key>
<string>Share With Papers</string>
</dict>
</plist>
Michael Ströck wrote:Do many other applications to that? In that case, we might have to implement it and parse out the URL scheme if it is not http:// or https://.
randian wrote:I'm confused because of the numbering change. The 2.5 version number used to be "2.5.0.2500.1507". The new beta dropped the "15xx". What version is the beta, 1509? 1510?
Users browsing this forum: No registered users