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

new RSS feed #224

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open

new RSS feed #224

wants to merge 1 commit into from

Conversation

HartLarsson
Copy link
Contributor

compatible with wordpress and BlogSpot

compatible with wordpress and BlogSpot
if (options.show_media) {
if(item.thumbnail !== undefined && item.thumbnail.height !== "72") {
post.attachment = '<img class="attachment" src="' + item.thumbnail.url + '" />';
} else if (item.content[2] !== undefined) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey HartLarsson, thanks for your commit, helped me a lot, but on this line it can produce an "Uncaught TypeError: Cannot read property '2' of undefined".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i need time to review the code with latest wordpress feed, sorry

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.

2 participants