Page 1 of 1

[FIXED, SORTA] Incorrect link for The Nursery ''Alice''

Posted: May 15th, 2017, 1:38 am
by JorWat
https://librivox.org/the-nursery-alice-by-lewis-carroll/

The Wikipedia link goes to https://en.wikipedia.org/wiki/The_Nursery_ rather than https://en.wikipedia.org/wiki/The_Nursery_%22Alice%22.

Looking at the HTML, what seems to have happened is that the quotation marks have broken the code:

Code: Select all

<p><a href="https://en.wikipedia.org/wiki/The_Nursery_"Alice"">Wikipedia Book - The Nursery ''Alice''</a></p>
I believe the link should be changed to the one I posted, with the '%22's.

Re: Incorrect link for The Nursery ''Alice''

Posted: May 15th, 2017, 5:07 am
by TriciaG
I tried to fix it by putting in the the link with the %22 code, the database entry reverts to the quotes, thus breaking the link.

Is there another code one can use for quotes using regular expressions? I wonder if that would work instead. If not, I think we'll have to remove the Wikipedia link altogether from this project. :hmm:

Re: Incorrect link for The Nursery ''Alice''

Posted: May 15th, 2017, 5:27 am
by JorWat
Hmm...

I don't know enough about the database to know what would work.

Could you use a URL shortener?

https://is.gd/nurseryalice

Re: Incorrect link for The Nursery ''Alice''

Posted: May 15th, 2017, 5:46 am
by TriciaG
Maybe - as long as the link never expires. I'll try that. Thanks for the suggestion!

EDIT: Seems to be working.