Skip to content

XML Parsing error #1

@turotulco

Description

@turotulco

Excellent tutorial! I learned a lot from it Godot wise. Though I completed the entire application as you described I still ended up with one bug that I am pretty sure is not as a result of miscopying your suggested code. There are three arrays, Title, Description and Link. They are filled by what appears to be a perfectly satisfactory method of parsing out the content. However, from the cnn feed, I end up with array counts of 43 in description, 49 in both Items and links. As a result, in the reader, the titles go out of synch about 4 items into the list. I've followed the parsing logic with the XML source pulled up in my browser so I could see what I was actually reading. Nothing obvious jumped out at me. It appears that some descriptions are being dropped, but nothing I could suss out. Thanks again for an excellent tutorial though!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions