Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converge code for array processing #222

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rdbcci
Copy link

@rdbcci rdbcci commented May 26, 2017

This change removes the duplicate code that is propagating at certain tags
(meta.link, meta.category, item.link, item.enclosure, item.media:content,
item.category) because the processing object may be an array. This change
forces those objects that are not arrays to be arrays and the non-array
processing is removed.

This change also addresses issue #219 by changing code to always use
"link['@']['href']" when it exists and a link has not been chosen by
the code.

This change removes the duplicate code that is propagating at certain tags
(meta.link, meta.category, item.link, item.enclosure, item.media:content,
item.category) because the processing object may be an array. This change
forces those objects that are not arrays to be arrays and the non-array
processing is removed.

This change also addresses issue danmactough#219 by changing code to always use
"link['@']['href']" when it exists and a link has not been chosen by
the code.

Signed-off-by: rdbcci <rdbcci@gmail.com>
@rdbcci rdbcci closed this May 30, 2017
@rdbcci rdbcci reopened this May 30, 2017
@rdbcci
Copy link
Author

rdbcci commented May 30, 2017

Removed mixed tabs and spaces.

Signed-off-by: rdbcci <rdbcci@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant