• Resolved op_maroon

    (@op_maroon)


    I’m displaying the following feed on my homepage sidebar via the standard RSS widget.

    https://www.purplecircle.co.uk/blog/?feed=rss2

    Getting garbled text at the end of the post, like this:
    $$(‘div.d1404’).each( function(e) […]

    See top right sidebar on the homepage here:
    https://www.purplecircle.co.uk/

    This doesn’t appear when there’s enough text in the post to reach the […].

    Garbled text doesn’t appear in the blog itself but does when you click on categories or tags: $$(‘div.d1404′).each( function(e) { e.visualEffect(‘slide_up’,{duration:0.5}) });

    Any ideas what’s going on here?

    And while I’m here if anyone knows how to include a thumbnail from the post in the RSS feed, it’d make my day!

    Thanks

Viewing 7 replies - 16 through 22 (of 22 total)
  • esmi

    (@esmi)

    I’m confused. Why is /blog on a separate install?

    Thread Starter op_maroon

    (@op_maroon)

    https://www.purplecircle.co.uk is the main site, not a blog, it just happens to be built on wordpress. /blog is a seperate blog with posts formatted differently and different content. Sorry if this wasn’t obvious, wordpress was chosen for the main site for usability/upgradability over clunky CMS systems.

    So the problem is bringing in posts from /blog (seperate WP install) to the main .co.uk site.

    esmi

    (@esmi)

    In that case, using the RSS widget may be your only option.

    Thread Starter op_maroon

    (@op_maroon)

    I’m doomed, arent I… ??

    I do appreciate the help though. If anyone else has any ideas please shout!

    esmi

    (@esmi)

    Well, I’ve traced the issue back to the RSS feed itself. Which means that the problem is on the Blog site – not the main site. Have you tried doing the whole deactivate plugins/ reset the plugins folder thing on the Blog site?

    Thread Starter op_maroon

    (@op_maroon)

    Turns out it was an issue with the way the blog had been setup to feed data to an iphone app, to summarise:

    If a truncated description (WordPress calls this an Excerpt) is not present with a blog post, WordPress supports the synthesis of <description> fields from <content> fields. This is achieved by selecting the “For each article in a feed, show Summary” option within the “Settings>Reading” control panel page. WordPress will then strip all non plain text items (HTML tags / Javascript Code) out the blog post content, truncated it to a few hundred characters and include it as the description. Looks like some javascript is appearing in the <description> field.

    So simply by adding a manual excerpt into the blog post the garbled code dissapeared.

    Thread Starter op_maroon

    (@op_maroon)

    Thanks again for the help. I’m starting a new topic now on the thumbnail issue.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘RSS feed widget – garbled text’ is closed to new replies.