[dspace-tech] Re: checksum checker reports "BITSTREAM_NOT_FOUND" in dspace 5

2016-10-03 Thread sloose40
Hi Ying,

I know you posted this some time ago, but we are also having a similar 
issue. Did you find out the cause of your issue? 
We are finding that the checker is reporting false BITSTREAM_NOT_FOUND 
errors. When I investigate the errors, I find that the files exist, and if 
I remove the bitstream entry from the most_recent_checksum table and re-run 
the checker process, the checker finds the bitstream successfully and does 
not report an error.
 
This seems to happen frequently, so cannot use the checker script with any 
confidence.

dspace=# select * from checksum_history where  bitstream_id = 62155;
 check_id | bitstream_id |   process_start_date|process_end_date |  
  checksum_expected |   checksum_calculated|   resul
t
--+--+-+-+--+--+
-
   623801 |62155 | 2016-08-07 04:42:41.265 | 2016-08-07 04:42:41.352 | 
285fb3b1e467cdbec08c40ec39eecd87 | 285fb3b1e467cdbec08c40ec39eecd87 | 
CHECKSUM_MA
TCH
   753127 |62155 | 2016-10-02 04:24:12.066 | 2016-10-02 04:24:12.092 | 
285fb3b1e467cdbec08c40ec39eecd87 |  | 
BITSTREAM_N
OT_FOUND
   765312 |62155 | 2016-10-04 10:59:13.071 | 2016-10-04 10:59:13.119 | 
285fb3b1e467cdbec08c40ec39eecd87 | 285fb3b1e467cdbec08c40ec39eecd87 | 
CHECKSUM_MA
TCH

Any ideas?

Thanks in advance,
Stuart Loose
University of Adelaide

On Wednesday, January 6, 2016 at 9:26:35 AM UTC+10:30, y...@rice.edu wrote:
>
> Hi 
>
> Since we upgraded to DSpace 5, the checksum checker has been reporting 
> bitstream not found errors for bistreams that actually still exist. I found 
> following information in checksum_history table for a bitstream reported 
> missing-
>
>  
>
>  select * from checksum_history where bitstream_id=1123888;
>
>  check_id | bitstream_id |   process_start_date|process_end_date   
>   |checksum_expected |   checksum_calculated|   
> result
>
>
> --+--+-+-+--+--+-
>
>  71571839 |  1123888 | 2015-12-20 04:00:05.98  | 2015-12-20 
> 04:00:05.98  | d4adcf541126223e6a4c47d4352968ee | 
> d4adcf541126223e6a4c47d4352968ee | CHECKSUM_MATCH
>
>  71572607 |  1123888 | 2015-12-20 04:00:09.26  | 2015-12-20 
> 04:00:10.067 | d4adcf541126223e6a4c47d4352968ee | 
> d4adcf541126223e6a4c47d4352968ee | CHECKSUM_MATCH
>
>  71575659 |  1123888 | 2015-12-20 04:21:46.986 | 2015-12-20 
> 04:21:47.082 | d4adcf541126223e6a4c47d4352968ee | 
> d4adcf541126223e6a4c47d4352968ee | CHECKSUM_MATCH
>
>  71578711 |  1123888 | 2015-12-20 04:29:27.613 | 2015-12-20 
> 04:29:27.614 | d4adcf541126223e6a4c47d4352968ee |  
> | BITSTREAM_NOT_FOUND
>
> (4 rows)
>
> =
>
>
> Our checker is scheduled to run weekly at 4am Sunday for an hour. I am 
> wondering why we got 4 entries for a single bitstream and with 3 indicate 
> MATCH and one says not found? Does anyone have the similar issue? Is this a 
> bug?
>
>
> Thanks in advance for any clue!
>
>
> Best,
>
> Ying
>

-- 
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.


Re: [dspace-tech] Can't create items through REST

2016-10-03 Thread Bruno Nocera Zanette
Ondrej,
The login method has changed on DSpace 6. Now, email and password must be
passed as a html queries, and it returns an JCOOKIE that must be passed
back to the server on every request. Also, the queries must be on HTML safe
format.

More info at:
https://wiki.duraspace.org/display/DSDOC6x/REST+API#RESTAPI-Index/Authentication

I've wrote an collection of bash scripts to test DSpace REST endpoints,
that you may take a look to understand it better:
Login: https://github.com/BrunoNZ/dspace-rest-requests/blob/master/login.sh
SendRequest:
https://github.com/BrunoNZ/dspace-rest-requests/blob/master/send_request.sh

I haven't tested what you've said yet, but if true, it is a big issue!

Em sex, 30 de set de 2016 às 12:14, Ondřej Košarko 
escreveu:

> Hi,
> I'm having an issue while creating an item as a non admin user through
> REST API.
> I've added the user to collection submit, but am still getting ERROR
> org.dspace.rest.CollectionsResource @ User(fake_em...@example.com) has
> not permission to write collection!
> I was going through the code and it seems to me that the permissions asked
> are wrong, e.g.
> https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/CollectionsResource.java#L349
>  asks
> for Constants.WRITE on collection when it is adding an item, while
> according to
> https://wiki.duraspace.org/display/DSDOC5x/Functional+Overview#FunctionalOverview-Authorization
> it should be Constants.ADD. This is probably not the only issue as deleting
> a collection would require DELETE on the owning community object not the
> collection itself (
> https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/CollectionsResource.java#L506
> )
>
> I hope I'm not the only one seeing this and hope that I'm reading the docs
> right, I was gonna test it on demo.dspace.org. But I couldn't log in. Can
> you spot any problems with the following cmd (i've ommited the real
> password)?
> curl -k -X POST -H "Content-Type: application/json" -d '{"email":"
> dspacedemo+ad...@gmail.com","password":"d."}'
> https://demo.dspace.org/rest/login
>
> Regards,
> Ondrej
>
> --
> 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.
>
-- 
Bruno Nocera Zanette
+55 41 9992-2508

-- 
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.


Re: [dspace-tech] Adding new Serach Filters

2016-10-03 Thread Andrea Schweer
Hi Don,

On 4 October 2016 at 07:45, Donald Bynum  wrote:

> I want to add a new search filter item to the drop down of filters in the
> advanced search.  I have edited Discovery.xml as follows:
>
> In the defaultConfiguration bean I added " bean="searchFilterPublisher" />" to the  set of the "searchFilters"
>  set
>
> [...]
>
> I bounced Tomcat and the new item displays in the dropdown of search
> filters as: "xmlui.ArtifactBrowser.SimpleSearch.filter.publisher"
>

You just need to add a translation to
[dspace-src]/dspace-xmlui/src/main/resources/aspects/Discovery/i18n/messages.xml
(or copy that file to
[dspace-src]/dspace/modules/xmlui/src/main/resources/aspects/Discovery and
edit the copy). Have a look around line 89 in that file (for DSpace 5.x) to
see what has been added for the Author, Title, Subject and Date issued
filters.
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/resources/aspects/Discovery/i18n/messages.xml#L89
You may need the additional entries a few lines down too, to make sure
things look right when you're filtering by an individual publisher (
xmlui.Discovery.AbstractSearch.type_publisher and
xmlui.ArtifactBrowser.SimpleSearch.filter.publisher_filter).

cheers,
Andrea

-- 
Dr Andrea Schweer
Lead Software Developer, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
+64-7-837 9120

-- 
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.


[dspace-tech] Adding new Serach Filters

2016-10-03 Thread Donald Bynum
I want to add a new search filter item to the drop down of filters in the 
advanced search.  I have edited Discovery.xml as follows:

In the defaultConfiguration bean I added "" to the  set of the "searchFilters"  set

I added the same new bean reference to the homepageConfiguration bean.

I added the following to the list of Search filter configuration beans

 
 
 
 
 dc.publisher
 
 
 

I bounced Tomcat and the new item displays in the dropdown of search 
filters as: "xmlui.ArtifactBrowser.SimpleSearch.filter.publisher"

The execution of the filter seems to work just fine, just that the display 
text is messed up (as stated above).

What did I miss?

Regards,

Don.




-- 
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.


Re: [dspace-tech] SQL to get all authors in a community?

2016-10-03 Thread Terry Brady
Alan, for the update side of your processing, have you made use of the Batch
Metadata Editing
 process
that is built into DSpace?

As our collection owners have become familiar with the tool, they have
found it easy and powerful to use.

On Mon, Oct 3, 2016 at 6:56 AM, Alan Orth  wrote:

> So just to expand on what I'm doing, I export the values as a CSV,
> then add a new column where my editors add corrections if needed. Then
> I use this python script to do the batch replaces in the database:
>
> https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897
>
> It's a nice way to have the content people be involved in spring
> cleanings of our data!
>
> Regards,
>
> On Thu, Sep 29, 2016 at 5:00 PM, Sean Carte  wrote:
> >
> > On 29 September 2016 at 15:53, Alan Orth  wrote:
> >>
> >> Thanks for the quick replies! Tom's solution is nice because you can
> >> specify the handles instead of the internal IDs. I thought I was going
> to
> >> have to figure out which collections each the community had, but it's
> >> simpler to just list them since there are only ten or so.
> >
> >
> > Yes, very nice. And also much more elegant in the use of subqueries
> rather
> > than joins.
> >
> > Sean
> > --
> >
> > --
> > 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.
>
>
>
> --
> Alan Orth
> alan.o...@gmail.com
> https://englishbulgaria.net
> https://alaninkenya.org
> https://mjanja.ch
> "In heaven all the interesting people are missing." ―Friedrich Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
> --
> 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.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/

425-298-5498 (Seattle, WA)

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread helix84
I see the problem now :) The directory is correct.

But Messages_el.properties.UTF-8 [1] is the UTF-8 version for editing by a
human. DSpace (Java) requires that file to be converted to ASCII with
escape codes (using native2ascii) and the file name should be
Messages_el.properties [2].

[1] https://github.com/DSpace/dspace-api-lang/blob/master/src/
main/native2ascii/Messages_el.properties.UTF-8
[2] https://github.com/DSpace/dspace-api-lang/blob/master/sr
c/main/resources/Messages_el.properties


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou
These were my active OPTS...

That's why I am puzzled.

Helix, just to confirm, I place Messages_el.properties.UTF-8 in 
[dspace-src]/dspace-api/src/main/resources 
.
Should it be renamed to Messages_el.properties or not ?


On Monday, October 3, 2016 at 5:03:28 PM UTC+3, helix84 wrote:
>
> On Mon, Oct 3, 2016 at 3:57 PM, Evelthon Prodromou  > wrote:
>
>> If this was the problem, wouldn't it affect the XMLUI as well?
>>
>  
> No, XMLUI uses a different format for its message catalogue.
>
>
> On Mon, Oct 3, 2016 at 4:00 PM, Evelthon Prodromou  > wrote:
>
>> These are my JAVA and CATALINA OPTS:
>>
>> JAVA_OPTS=-Djava.awt.headless=true -Xmx4096m -Xms4096m 
>> -XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 -XX:MaxHeapFreeRatio=70 
>> -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
>> -XX:+CMSClassUnloadingEnabled
>> CATALINA_OPTS=-Djava.awt.headless=true -Xms3072m -Xmx3072m 
>> -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8
>>
>
> If you changed JAVA_OPTS, I assume you restarted your servlet container.
>
> If adding that option didn't help, I don't have other ideas at the moment.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou
These are my JAVA and CATALINA OPTS:

JAVA_OPTS=-Djava.awt.headless=true -Xmx4096m -Xms4096m 
-XX:MaxPermSize=2048m -Dfile.encoding=UTF-8 -XX:MaxHeapFreeRatio=70 
-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled 
-XX:+CMSClassUnloadingEnabled
CATALINA_OPTS=-Djava.awt.headless=true -Xms3072m -Xmx3072m 
-XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8


On Monday, October 3, 2016 at 4:57:41 PM UTC+3, Evelthon Prodromou wrote:
>
> If this was the problem, wouldn't it affect the XMLUI as well?
>
> On Monday, October 3, 2016 at 4:39:16 PM UTC+3, helix84 wrote:
>>
>> Are you running with -Dfile.encoding=UTF-8 in JAVA_OPTS, as recommended 
>> in the DSpace installation docs? [1]
>>
>> [1] 
>> https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>

-- 
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.


Re: [dspace-tech] SQL to get all authors in a community?

2016-10-03 Thread Alan Orth
So just to expand on what I'm doing, I export the values as a CSV,
then add a new column where my editors add corrections if needed. Then
I use this python script to do the batch replaces in the database:

https://gist.github.com/alanorth/df92cbfb54d762ba21b28f7cd83b6897

It's a nice way to have the content people be involved in spring
cleanings of our data!

Regards,

On Thu, Sep 29, 2016 at 5:00 PM, Sean Carte  wrote:
>
> On 29 September 2016 at 15:53, Alan Orth  wrote:
>>
>> Thanks for the quick replies! Tom's solution is nice because you can
>> specify the handles instead of the internal IDs. I thought I was going to
>> have to figure out which collections each the community had, but it's
>> simpler to just list them since there are only ten or so.
>
>
> Yes, very nice. And also much more elegant in the use of subqueries rather
> than joins.
>
> Sean
> --
>
> --
> 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.



-- 
Alan Orth
alan.o...@gmail.com
https://englishbulgaria.net
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." ―Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

-- 
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.


[dspace-tech] Re: External authentication

2016-10-03 Thread Evgeni Dimitrov
Well, the problem has a solution with methods like those bellow. But minor 
changes are necessary in AuthenticationManager.java, 
AuthenticationUtil.java, AuthenticateAction.java, because now for them 
SUCCESS in authentication means always and only a non-null EPerson in 
Context.

-
public int authenticate(Context context,
String username,
String password,
String realm,
HttpServletRequest request)
throws SQLException {
HttpSession session = request.getSession();

. . .
if (externalUser(username, password)) {
Group g4 = Group.findByName(context, G4);
int g4id = g4.getID();
Integer g4ID = Integer.valueOf(g4id);

session.setAttribute(G4KEY, g4ID);
return SUCCESS;
}
. . .
}

public int[] getSpecialGroups(Context context,
  HttpServletRequest request) {
try {
HttpSession session = request.getSession();
Integer g4ID = (Integer) session.getAttribute(G4KEY);

if (g4ID != null) {
int g4id = g4ID.intValue();
return new int[] {g4id};
}
}
catch (Exception e) {
}
return new int[0];
}


>

-- 
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.


Re: [dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread helix84
Are you running with -Dfile.encoding=UTF-8 in JAVA_OPTS, as recommended in
the DSpace installation docs? [1]

[1]
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-ServletEngine(ApacheTomcat7orlater,Jetty,CauchoResinorequivalent)


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
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.


[dspace-tech] DSpace 5.5 JSPUI - CRIS showing jibrish when adding Greek (el) translation

2016-10-03 Thread Evelthon Prodromou


Hello,


I am trying to enable greek on JSPUI (dspace-CRIS). Steps done:

   - Copied Messages_el.properties.UTF-8 
   

 
   from jspui repo on github in 
   - [dspace-src]/dspace-api/src/main/resources and renamed it to 
   Messages_el.properties
   - mvn package
   - ant update from the installer folder
   - added el locale in dspace.cfg (webui.supported.locales)


server.xml has the URIEncoding="UTF-8" option is set.


If I switch to the XMLUI on the same installation, greek show up just fine.


Any suggestion on what I am missing here?

Thank you

-- 
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.


[dspace-tech] Re: embed piwik iframe into page-structure.xsl

2016-10-03 Thread Mesut Güngör
Thank You Hernan it works like  a charm. 

On Thursday, September 29, 2016 at 9:40:21 PM UTC+3, Hernán Lagos wrote:
>
> Dear
>
> You must check the special entities: 
> http://www.htmlhelp.com/reference/html40/entities/special.html.
> Change *&* by ** 
> Example:
>
> 
>
> 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">
>
> 
>
> 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*
>>
>> http://openaccess.iyte.edu.tr/piwik/index.php?module=Widgetize=iframe=1=UserCountryMap=realtimeMap=1=day=yesterday=1=1
>>  
>> "
>>  
>> scrolling="no" frameborder="0" marginheight="0" 
>> marginwidth="0">
>>
>> converted to xsl and give it a template name and call it in 
>> page-structure.xsl as below
>>
>>
>>  
>>
>>
>>  
>>
>> 
>> widgetIframe
>> 
>> 100%
>> 350
>> > name="src">*http://openaccess.iyte.edu.tr/piwik/index.php?module=Widgetize=iframe=1=UserCountryMap=realtimeMap=1=day=yesterday=1=1
>>  
>> *
>> 
>> no
>> 0
>> 0
>> 0
>> 
>> 
>>
>>  
>>
>>
>> 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.