View Single Post
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