Help needed: Using Logos hyperlinks in Endnote

Page 1 of 1 (6 items)
This post has 5 Replies | 0 Followers

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Posted: Sat, Sep 25 2010 3:33 AM

Endnote bibliographic software has a URL field, where you can place links to online sources of resources. I'd love to paste a link to a Logos resource in there. But

logosres:gs-tynbul-32;art=title2 doesn't work (it's not recognised as a link)

Any suggestions at what else could be tried?

(One option would be for Logos to implement a web-script that re-directed to the logosres protocol for just this sort of situation. So Logos would give me http://www.logos.com?redirect=gs-tynbul-32&art=title2 or something.)

Posts 3663
Floyd Johnson | Forum Activity | Replied: Sat, Sep 25 2010 6:16 AM

Mark:

Could you use the link to "Biblia.com"?  I saw your earlier post for LOGOS to create URL links to Biblia; so, I assume, that you, too, had thought of this.  But I thought I would say it out loud, in case it had been overlooked.

Blessings,
Floyd

Pastor-Patrick.blogspot.com

Posts 308
James W Bennett | Forum Activity | Replied: Sat, Sep 25 2010 9:39 AM

Mark,

I sympathize with you. I also use Logos and Endnote.

However, the source of the problem is in the Endnote program. It does not recognize "logosres" as a valid URI type. It seems to only allow for and handle a subset of even the normal URI types. For example, it handles ftp, http, mailto, news, nntp, gopher, file and telnet. It does not handle ssh, snmp, pop or ldap and many others.

But then, even word does not recognize "logosres" unless you specifically mark it as a URL.

I have tried making the URL text, within Endnote, a Word field code for a hyperlink. But Endnote uses field codes to insert text into word. So this comes in as text rather than a field code and you have the same essential problem.

The only way I have found is put a "logosres" reference in the URL field in Endnote and have word remove the Endnote field codes (ie. convert them to plain text bibliography entries) and then have word convert the URL to a hyperlink. But this is time consuming and error prone.

It should really be easy for Thomson Reuters to get Endnote to properly recognize "logosres" URI's as you can currently highlight a "logosres" URL in Endnote and have Endnote properly open the URL. So it would just be a matter of Endnote recognizing the "logosres" URI type. The hard part will be getting them to consider it a problem. Perhaps the best solution for them is one similar to what Microsoft did with Word, allow you to highlight the text you want considered as a hyperlink. Then they can handle any non-standard URI type.

While Floyd's suggestion above should work, I would much rather have the full power of logos available after opening a link and that is not available under biblia.com.

So the real question here becomes: Where does Logos draw the line on compensating for bugs in other software?

As to your idea of a webscript, I just made a quick test and this may have uncovered a bug in Logos. It seems that logos cannot handle escaped semi-colons. So trying: logosres:nigtc1cor properly opens the 1 Corinthians volume of the NIGTC commentary set. However, trying: logosres:nigtc1cor%3bref=Bible.1Co11.5-6
opens a page telling you that you do not have a license to view the resource. Yet, you cannot turn off special character escaping in Apache's mod_rewrite for the RedirectMatch directive and you cannot redirect to a logosres URI from the RewriteRule where you can suppress escaping special characters. Maybe you can do something with a meta redirect but those have their own problems and I really don't know about other servers like IIS.

 

 

---

James W Bennett

http://syriac.tara-lu.com/

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Replied: Sat, Sep 25 2010 10:03 AM

Floyd Johnson:
Could you use the link to "Biblia.com"?  I saw your earlier post for LOGOS to create URL links to Biblia; so, I assume, that you, too, had thought of this.  But I thought I would say it out loud, in case it had been overlooked.

Yes, that was my thinking as a workaround. But as James said it would be better in Logos.

Posts 13360
Forum MVP
Mark Barnes | Forum Activity | Replied: Sat, Sep 25 2010 10:05 AM

James W Bennett:
Maybe you can do something with a meta redirect but those have their own problems and I really don't know about other servers like IIS.

I too did a quick mockup, and unescaped characters are fine in PHP sending a redirect header. So if you have PHP installed on a local Apache installation, it's easy to do. Here's the code:

$qs = $_SERVER['QUERY_STRING'];
if (substr($qs,0,9) == 'logosres:' || substr($qs,0,7) == 'logos4:')
header("Location: {$qs}");

In order to make it work, you'll also need to add the following to the links that Logos generates: http://localhost?

So, logosres:esv;ref=BibleESV.Ac2.33 becomes http://localhost?logosres:esv;ref=BibleESV.Ac2.33

I loaded a copy of that tiny script onto my webserver, so you can try it out. I'll be leaving it there until/unless Logos do something. So clicking on this http link should open up Logos for you, and be recognised by Endnote: http://www.4-14.org.uk/?logosres:esv;ref=BibleESV.Ac2.33

Of course the downsides of this approach is that it unnecessarily opens a browser window in Firefox. I can live with that, however.

PS (You can lose the www. and the trailing slash if you want to save 5 characters).

Posts 308
James W Bennett | Forum Activity | Replied: Sat, Sep 25 2010 11:15 AM

Yeah, but like I said, I was trying to avoid redirects through the headers. If you are going to leave that script up you might want to restrict access. Without some some level of special character escaping (which will cause problems with logos) you might have some problems with hackers.

---

James W Bennett

http://syriac.tara-lu.com/

Page 1 of 1 (6 items) | RSS