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

Report & help check download problems, corrupted files, badly-named files, bad links etc. (NOT for style & reading complaints)
Post Reply
JorWat
Posts: 880
Joined: February 16th, 2009, 10:20 am
Location: Oxfordshire, England

Post by JorWat » May 15th, 2017, 1:38 am

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.
Jordan

Alcohol and Maths don't mix. So never drink and derive.

TriciaG
LibriVox Admin Team
Posts: 38603
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » May 15th, 2017, 5:07 am

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:
Fiction, partly about jail atrocities: It Is Never too Late to Mend
E E Cummings' time in French prison: The Enormous Room
21st Century Policing recommendations: LINK

JorWat
Posts: 880
Joined: February 16th, 2009, 10:20 am
Location: Oxfordshire, England

Post by JorWat » May 15th, 2017, 5:27 am

Hmm...

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

Could you use a URL shortener?

https://is.gd/nurseryalice
Jordan

Alcohol and Maths don't mix. So never drink and derive.

TriciaG
LibriVox Admin Team
Posts: 38603
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » May 15th, 2017, 5:46 am

Maybe - as long as the link never expires. I'll try that. Thanks for the suggestion!

EDIT: Seems to be working.
Fiction, partly about jail atrocities: It Is Never too Late to Mend
E E Cummings' time in French prison: The Enormous Room
21st Century Policing recommendations: LINK

Post Reply