Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • BarneyHall 141 posts 210 karma points
    Mar 12, 2010 @ 16:13
    BarneyHall
    0

    Excluding images referenced in BodyText

    Hi is there a way of excluding any images added to a blog post's BodyText within the BlogListPosts.xslt ?

    I can see this is where the content is being called but I want to drop any references to images so that they don't get displayed on the post list.

    <div class="entry-content">
       <xsl:value-of select="$post/data [@alias = 'bodyText']" disable-output-escaping="yes"/>
    </div>

    Thanks,
    Barney

  • Petr Snobelt 923 posts 1534 karma points
    Mar 12, 2010 @ 16:23
    Petr Snobelt
    0

    You can try some regexp magic to remove img tags from bodyText.

    Petr

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies