Re: [pmwiki-users] sitemap problems

2016-03-04 Thread Petko Yotov
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-


  http://www.codex.wiki.br/Jogos/RecentChanges
  2014-07-30
  weekly
  0.5


  http://www.codex.wiki.br//
  2016-02-27
  daily
  0.5


-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@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] sitemap problems

2016-02-28 Thread Carlos AB
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-


  http://www.codex.wiki.br/Jogos/RecentChanges
  2014-07-30
  weekly
  0.5


  http://www.codex.wiki.br//
  2016-02-27
  daily
  0.5


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


htmlman.sh
Description: Bourne shell script
<>
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Sitemap

2008-04-25 Thread Camila







Como eu faço para não receber mais estes emails por favor!!! Att,Camila- Mensagem Original - 
  De: [EMAIL PROTECTED] 
  Para: PmWiki-Users List
  Data: Quinta, 24 De Abril De 2008 13:58
  Assunto: [pmwiki-users] Sitemap
  
  After following the thread on sorting the tables, I went to your website,
and saw:

http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?sitemapoption=foldersname=FrontPage

for the sitemap. How do you do the sitemap options?

-- 
Thanks
http://www.911networks.com
When the network has to work

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users






___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Sitemap

2008-04-24 Thread pmwiki
After  following the thread on sorting the tables, I went to your website,
and saw:

http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?sitemapoption=foldersname=FrontPage

for the sitemap. How do you do the sitemap options?

-- 
Thanks
http://www.911networks.com
When the network has to work

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Sitemap

2008-04-24 Thread Henrik Bechmann
The options are written into the GET url with forms -- see

http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?action=source

Note that I have request=1 in

(:pagelist list=sitemap fmt=#sitemap name={$DefaultName} request=1:)

which causes any url query parameters to over-ride pagelist arguments 
(namely the name= field)

Then in Site.SiteMap.php I have

=

?php
global $FmtPV,$SearchPatterns;
$FmtPV['$PageCreatedDate'] = 'strftime(%B %d, %Y, $page[ctime])';
$FmtPV['$PageModifiedDate'] = 'strftime(%B %d, %Y, $page[time])';
$FmtPV['$SiteName'] = '$GLOBALS[CustomHeaderTitle]';
$sitemapoption=$_GET[sitemapoption];
if (!$sitemapoption) $sitemapoption='folders';
switch ($sitemapoption) {
case 'folders': $maptitle='Listing of Folders' ; break;
case 'changedpages': $maptitle= 'Listing by Changed Pages'; break;
case 'newpages': $maptitle='Listing by New Pages' ; break;
case 'allpages': $maptitle='All Pages'; break;
}
$FmtPV['$SiteMapHeading'] = ' . $maptitle . ';

==

to set the Page Variables I use in the site map.

- Henrik

[EMAIL PROTECTED] wrote:
 After  following the thread on sorting the tables, I went to your website,
 and saw:

 http://testwebsite.bechmann.ca/wiki/wiki.php/Site.SiteMap?sitemapoption=foldersname=FrontPage

 for the sitemap. How do you do the sitemap options?

   

-- 

Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users