[pmwiki-users] Fwd: sitemap problems

Carlos AB cabsec.pmwiki at gmail.com
Fri Mar 4 07:36:17 CST 2016


Thank you Petko,

That is exactly what I did.

CarlosAB

2016-03-04 5:15 GMT-03:00 Petko Yotov <5ko at 5ko.fr>:
> You probably have to add at least these lines into your generated wiki file:
>
>   name=Debian8Man1.Ls
>   time=123456789
>
> Note the capitalisation for the page name, and the time stamp can be
> generated in PHP with time();
>
> You can see a sample of PmWiki files formatted as expected, without any
> history, in your wikilib.d directory.
>
> Petko
>
> ---
> Change log     :  http://www.pmwiki.org/wiki/PmWiki/ChangeLog
> Release notes  :  http://www.pmwiki.org/wiki/PmWiki/ReleaseNotes
> If you upgrade :  http://www.pmwiki.org/wiki/PmWiki/Upgrades
>
>
>
> On 2016-02-27 22:21, Carlos AB wrote:
>>
>> Hi list,
>>
>> I have a problem with a sitemap script. The one I use is this:
>>
>> http://www.pmwiki.org/pmwiki/uploads/Cookbook/sitemap.php
>>
>> I found the script trough this page ->
>> http://www.pmwiki.org/wiki/Cookbook/GoogleSitemaps
>>
>> I made pmwiki files from manpages using a bash script and it goes like
>> this ( it ain' t pretty), which I'll send as an attachment. The script
>> is not ready yet but does what I need.
>>
>> What i does is to create man pages in txt , html and pmwiki.
>>
>> I use the out put of the html conversion to transform it into pmwiki
>> markup and file format trough another script in php, which work as a
>> filter and I'll send it as attachment as well.
>>
>> The file is named as man2wiki.php
>>
>> So I made all this conversions, the converted files were there. I
>> zipped everything and placed inside "wiki.d" folder, unzipped and I
>> thought everything would run smooth once I bumped into sitemap
>> creation.
>>
>> To make the story short, this is what happens to the sitemap feed ,
>> filed as sitemap.xml .
>> -----8x-----
>>
>>     <url>
>>           <loc>http://www.codex.wiki.br/Jogos/RecentChanges</loc>
>>           <lastmod>2014-07-30</lastmod>
>>           <changefreq>weekly</changefreq>
>>           <priority>0.5</priority>
>>         </url>
>>         <url>
>>           <loc>http://www.codex.wiki.br//</loc>
>>           <lastmod>2016-02-27</lastmod>
>>           <changefreq>daily</changefreq>
>>           <priority>0.5</priority>
>>         </url>
>>
>> -----8x-----
>>
>> The files I uploaded to wiki.d don't show groupname or pagename.
>>
>> Any suggestion would be apreciated a lot.
>>
>> TIA
>>
>> CarlosAB
>>
>> ----
>> http://codex.wiki.br/
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users



--
Codex - Educação sobre tecnologias web
http://codex.wiki.br/


-- 
Codex - Educação sobre tecnologias web
http://codex.wiki.br/



More information about the pmwiki-users mailing list