1 Reply Latest reply on May 12, 2010 9:40 AM by Stuart Haiz

    Remove Twitter Name In Feed

    Stuart Haiz Level 1

      I have an xsl feed on my site that I created using David Powers' DWCS3/CSS/AJAX/PHP book. It works perfectly and I can limit the number of posts. As this is being fed to my own site I would like to get rid of my account name, designermagic: which preceeds the posts. Is this possible?

       

      I have tried using the Twitter feed and Feedburner, which displays the same results. The code in my feed.xsl file is:

       

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE xsl:stylesheet  [
          <!ENTITY nbsp   "&#160;">
          <!ENTITY copy   "&#169;">
          <!ENTITY reg    "&#174;">
          <!ENTITY trade  "&#8482;">
          <!ENTITY mdash  "&#8212;">
          <!ENTITY ldquo  "&#8220;">
          <!ENTITY rdquo  "&#8221;">
          <!ENTITY pound  "&#163;">
          <!ENTITY yen    "&#165;">
          <!ENTITY euro   "&#8364;">
      ]>
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
      <xsl:output method="html" encoding="UTF-8"/>
      <xsl:template match="/">
        <xsl:for-each select="rss/channel/item">
          <xsl:if test="position() &lt;=6">
            <p><a href="{link}"><xsl:value-of select="title"/></a></p>
          </xsl:if>
        </xsl:for-each>
      </xsl:template>
      </xsl:stylesheet>