![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
URI format error
I have an epub I edited with Sigil 2.0.2 on Windows. I have uploaded the epub to kobo.com, to check for any issues. It complains of a bad URI:
"[https://www.freepik.com/free-vector/hand-drawn-simple-flower-outline_25182979.htm#query=line%20art%20lily&posit ion=1&from_view=search&track=ais&uuid=0f70a459-528c-4014-955a-61c1d392eed4#position=1&query=line%20art%20lily]" is not a valid URI. in OEBPS/Text/index_split_000.html, line 32 This is a credit for use of some line art, and the credit is required by the publisher. The actual HTML in my file is this: <p> <a href="https://www.freepik.com/free-vector/hand-drawn-simple-flower-outline_25182979.htm#query=line%20art%20lily&p osition=1&from_view=search&track=ais&u uid=0f70a459-528c-4014-955a-61c1d392eed4#position=1&query=line%20art%20lil y">Lily image from Freepik</a> </p> I uploaded the epub to Amazon to send to my Kindle, and the link is presented correctly, and does, in fact, open a browser to the correct page. Would appreciate any assistance! |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,981
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Uri query's are not started by a hash # and instead use ?
And I have never seen a proper url with multiple query strings and especially one that is duplicated twice. Try to write the uri using ? for query and remove the duplication of the query. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,981
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Here is a more properly formatted uri:
https://www.freepik.com/free-vector/...a-61c1d392eed4 You can probably simplify this further. |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,714
Karma: 152906060
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it's worth, I tried the following and it worked:
https://www.freepik.com/free-vector/...e_25182979.htm Since this is a MobileRead link, the full URL is seen when you hover over the link. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,981
Karma: 5449552
Join Date: Nov 2009
Device: many
|
That url worked for me too. Nicely done!
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
Thanks, all, for the help! The link came from FreePik, and messy as it was, when put into a browser, it worked. The much simpler link from DNSB has solved the problem here, and I now have no resource complaints from Kobo.
|
![]() |
![]() |
![]() |
Tags |
html, uri |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
URI Linking in Notes? | kcjeffro | Viewer | 6 | 01-04-2022 08:20 AM |
Highlight URI | trungng2006 | Library Management | 8 | 11-13-2020 09:57 AM |
epub Error while parsing file: value of attribute "src" is invalid; must be a URI | Bowcat | ePub | 2 | 10-08-2019 10:46 AM |
URI issues | odedta | ePub | 10 | 04-17-2014 12:46 PM |
Error message: "TEMPLATE ERROR Single '}' encountered in format string" | frank14612 | Calibre | 22 | 07-02-2013 11:05 AM |