Goodreads Developers discussion
      bugs
      >
    series/show.xml returning escaped XML
    
  
  
					date
						  
						newest »
				
		
						  
						newest »
				
        message 1:
      by
      
          Israel
      
        
          (new)
        
    
    
      Dec 02, 2012 08:22AM
    
    
      The series info call is returning escaped xml which makes parsing difficult :). The "work" node looks like the culprit with all the tags surrounded by lt; and gt; entities.
    
          reply
          |
      
      flag
    
  
      Wow, after two years this bug is still unresolved.I just started working on some useful tool for GoodReads (in my opinion of course), but one request per second limit and api bugs not resolved for two years (yep, I found it too) sounds discouragingly.
      Hi Israel and Dariusz,
Sorry to hear you're having issues. Can you give me the exact endpoint you're hitting, with work/book id params included, where you're seeing this error? I'll look into what's happening.
-Nichole
  
  
  Sorry to hear you're having issues. Can you give me the exact endpoint you're hitting, with work/book id params included, where you're seeing this error? I'll look into what's happening.
-Nichole
      Hi Nichole,Please check sample url from api documentation for series.show function (https://www.goodreads.com/series/4032...), when you look at source of response you will see that whole "work" item is html-encoded. So response is not well-formed xml.
      Dariusz,
Thanks so much for the link...yeah that does look pretty wonky. I'm filing a ticket for this (for our reference, IOS-2520). We'll try to fit this in soon and I'll update this ticket again when it's fixed.
  
  
  Thanks so much for the link...yeah that does look pretty wonky. I'm filing a ticket for this (for our reference, IOS-2520). We'll try to fit this in soon and I'll update this ticket again when it's fixed.
      Unfortunately I've noticed one more bug in this function - if user_position contains ampersand it is NOT encoded into entity. So parsing of that file is not possible. For example - https://www.goodreads.com/series/4095...
    
      I'm noticing the exact same thing. Hoping this will get resolved soon. It would be much easier to parse the data if it was pure XML.
    
      I just thought I'd try the series XML call again, but I'm still getting the same issue. Is there any update on this?
    
      Hi all,
Happy to announce that this bug should be fixed now. Let us know if that doesn't seem to be the case!
  
  
  Happy to announce that this bug should be fixed now. Let us know if that doesn't seem to be the case!



