Re: ISBN URL?

Guenter Milde via Docutils-users <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <[email protected]>
On 2017-12-22, Matěj Cepl wrote:
> On 2017-05-11, 21:30 GMT, Guenter Milde wrote:
>> Unfortunately, this does not help in praxi, as

>>   Your browser would have to have a "resolver" installed for ISBN numbers
>>   that would find a URL for the resource. As far as I know, no browsers
>>   have taken a stab at implementing resolvers as called for by the RFC.
>>   –- Stephen Ostermiller Feb 24 at 8:57 

> So, to translate your post into English: there is nothing to 
> help you. Right?

To rephrase my answer:

  While Docutils already supports isbn URLs in the rst source (e.g. `The
  Four Loves <urn:isbn:0156329301>`__), this will most likely not work
  with current browsers which lack support for RFC 2187 and just return an
  error when told to go to "urn:isbn:0156329301".
  
Taking in account the current state of browser (non)support, I can imagine
a transform mapping ISBN URLs to a configurable HTML URL like ::

  'https://en.wikipedia.org/wiki/Special:BookSources?isbn=%s' % isbn_no
  
Patches welcome.

Günter


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Docutils-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-users

Please use "Reply All" to reply to the list.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.