I am trying to embed piwik realtime visitor map into dspace home page (page-structure.xsl) First i get the iframe embed link from piwik and paste it into the http://www.html2xsl.com/index.php site to convert the html code into xsl structure. i get the following.
*The IFRAME embed code i get from PIWIK* <div id="widgetIframe"><iframe width="100%" height="350" src="http://openaccess.iyte.edu.tr/piwik/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=UserCountryMap&actionToWidgetize=realtimeMap&idSite=1&period=day&date=yesterday&disableLink=1&widget=1" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe></div> converted to xsl and give it a template name and call it in page-structure.xsl as below <xsl:call-template name ="realtimemap"/> <xsl:template name="realtimemap"> <xsl:element name="div"> <xsl:attribute name="id">widgetIframe</xsl:attribute> <xsl:element name="iframe"> <xsl:attribute name="width">100%</xsl:attribute> <xsl:attribute name="height">350</xsl:attribute> <xsl:attribute name="src"> *http://openaccess.iyte.edu.tr/piwik/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=UserCountryMap&actionToWidgetize=realtimeMap&idSite=1&period=day&date=yesterday&disableLink=1&widget=1* </xsl:attribute> <xsl:attribute name="scrolling">no</xsl:attribute> <xsl:attribute name="frameborder">0</xsl:attribute> <xsl:attribute name="marginheight">0</xsl:attribute> <xsl:attribute name="marginwidth">0</xsl:attribute> </xsl:element> </xsl:element> </xsl:template> if i visit the page it gives the following error org.xml.sax.SAXParseException: The reference to entity "*action*" must end with the ';' delimiter. This action word is in the IFRAME URL. How should i write this src url not to get error ? I have also tried to encode the url with url encoder but not luck it also did not work. Thanks. -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
