Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 10-18-2010, 03:15 PM   #1
lordvetinari2
Zealot
lordvetinari2 is on a distinguished road
 
Posts: 137
Karma: 61
Join Date: Jun 2006
Location: Gijón, Spain
Device: Kindle 3G+WiFi & Galaxy Note
Spaces in attribute values (updating El Pais recipe)

I'm trying to update the "el_pais" (main newspaper in Spain) recipe, as the website has changed how titles are handled and are absent from the current recipe.
The titles appear in tags within these values: 'cabecera_noticia_reportaje estirar','cabecera_noticia_opinion estirar','cabecera_noticia estirar'. As you can see, there is a space before the last word. I have tried entering a regular space in the recipe, but it looks like it is not properly recognised. I tried escaping the space the Python way, thus: 'cabecera_noticia_reportaje\u0020estirar', but it doesn't work either.

How can I enter a space in an element attribute in a recipe?
lordvetinari2 is offline   Reply With Quote
Old 10-18-2010, 03:28 PM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by lordvetinari2 View Post
How can I enter a space in an element attribute in a recipe?
Spaces are recognized normally. I use them all the time in element attributes.
Starson17 is offline   Reply With Quote
Advert
Old 10-19-2010, 01:32 PM   #3
lordvetinari2
Zealot
lordvetinari2 is on a distinguished road
 
Posts: 137
Karma: 61
Join Date: Jun 2006
Location: Gijón, Spain
Device: Kindle 3G+WiFi & Galaxy Note
Quote:
Originally Posted by Starson17 View Post
Spaces are recognized normally. I use them all the time in element attributes.
Thanks for your help. I have no idea what was wrong, but I managed to update the recipe properly. Will upload it tomorrow to the bug tracker.
lordvetinari2 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help finding Metadata Names and Values? Sabardeyn ePub 3 04-02-2010 11:16 PM
Could we adjust the time-out values? Darqref Feedback 9 01-04-2010 02:43 PM
Using the width attribute crutledge Workshop 8 07-06-2009 05:10 AM
PRS-500 layout values in cache.xml kenbaldwin Sony Reader Dev Corner 12 03-03-2009 07:02 PM
'El Pais' article (in Spanish) on cyber-reading Patricia News 1 03-23-2008 07:04 AM


All times are GMT -4. The time now is 02:08 AM.


MobileRead.com is a privately owned, operated and funded community.