Sitemap generator issue

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Looted
Posts: 18
Joined: Tue Oct 29, 2013 10:06 am

Sitemap generator issue

Postby Looted » Mon Mar 24, 2014 9:26 am

Hello,
I have a problem with the sitemap generator. For example, that

Code: Select all

XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'pages','view','czasopismo','en')));

generates that:

Code: Select all

http://mysite.com/ojs/index.php/site/pages/view/czasopismo

It works for shorter links, like

Code: Select all

XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(),'index','index','pl')));

gives:

Code: Select all

http://www.diametros.iphils.uj.edu.pl/ojs/index.php/diametros/index/index/pl


What should I modify to allow it for more arguments?

Looted
Posts: 18
Joined: Tue Oct 29, 2013 10:06 am

Re: Sitemap generator issue

Postby Looted » Mon Mar 24, 2014 9:48 am

Solved, everyting after first two arguments must go into array.


Return to “OJS Technical Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest