Dear

You must check the special entities: 
http://www.htmlhelp.com/reference/html40/entities/special.html.
Change *&* by *&* 
Example:

<div id="widgetIframe">

<iframe width="100%" height="350" 
src="http://openaccess.iyte.edu.tr/piwik/index.php?module=Widgetize*&amp;*
action=iframe*&amp;*widget=1*&amp;*moduleToWidgetize=UserCountryMap*&amp;*
actionToWidgetize=realtimeMap*&amp;*idSite=1*&amp;*period=day*&amp;*
date=yesterday*&amp;*disableLink=1*&amp;*widget=1" scrolling="no" 
frameborder="0" marginheight="0" marginwidth="0"></iframe>

</div>

Regards

Hernán Lagos
http://prodigioconsultores.com

El martes, 27 de septiembre de 2016, 9:16:23 (UTC-3), Mesut Güngör escribió:
>
> 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
>  
> <http://www.google.com/url?q=http%3A%2F%2Fopenaccess.iyte.edu.tr%2Fpiwik%2Findex.php%3Fmodule%3DWidgetize%26action%3Diframe%26widget%3D1%26moduleToWidgetize%3DUserCountryMap%26actionToWidgetize%3DrealtimeMap%26idSite%3D1%26period%3Dday%26date%3Dyesterday%26disableLink%3D1%26widget%3D1&sa=D&sntz=1&usg=AFQjCNFGlxHWqAR-hVBB6I73D7plan_noQ>"
>  
> 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
>  
> <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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to