Re: [pmwiki-users] Static 'site maps'?

2011-01-03 Thread Ben Wilson
http://www.pmwiki.org/wiki/Cookbook/GoogleSitemaps

I believe this is the sitemap.php I've used for Google sitemapping for
the past, er, four years.

On Mon, Jan 3, 2011 at 6:25 PM, Steve G.  wrote:
> I will check out the implementation, but I suspect, since this is an html
> page, that it would still not meet Google's requirements, as listed in
> http://www.google.com/support/webmasters/bin/answer.py?answer=183668 - am I
> wrong?
>
> Maybe a simple solution would be to create a text file with the same
> content, with a url per line, as an alternative that is acceptable to
> Google?
>
> Z.
>
> --
> Check out my web site - www.words2u.net
>
> ___
> pmwiki-users mailing list
> pmwiki-users@pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



-- 
Ben Wilson
"We cannot determine the character or nature of a system within
itself. Efforts to do so will only generate confusion and disorder."
Boyd

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


Re: [pmwiki-users] Static 'site maps'?

2011-01-03 Thread DaveG
I use sitemap.php by http://www.brambring.nl to generate Google 
sitemaps. Works great. Unfortunately I can't find which cookbook page 
this cookbook is on. Let me know if you'd like the cookbook and I'll 
send it.



 ~ ~ Dave

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


Re: [pmwiki-users] Static 'site maps'?

2011-01-03 Thread Steve G.
I will check out the implementation, but I suspect, since this is an html
page, that it would still not meet Google's requirements, as listed in
http://www.google.com/support/webmasters/bin/answer.py?answer=183668 - am I
wrong?

Maybe a simple solution would be to create a text file with the same
content, with a url per line, as an alternative that is acceptable to
Google?

Z.

-- 
Check out my web site - www.words2u.net
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] Using pagelist output with template to output csv

2011-01-03 Thread ccox
This ALMOST works btw.

I created a pagelist template that extracts some PTVs and the format looks
like CSV.

With a special skin (basically a do nothing skin) and with localized
change of content-type, it's almost perfect except the pagelist output
does contain just a bit of html formatting.

So anyone got an "easy" way to pull this off?

I think it would be a really cool feature/recipe.  Sure... could try to
write some php code, but this almost works without having to do anything.

Assuming a code change/override is needed, what would I have to do to get
things to work, yet have the pagelist output under templates not return
the extraneous  and  tags.



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


Re: [pmwiki-users] Static 'site maps'?

2011-01-03 Thread Eemeli Aro
On 2 January 2011 06:08, Steve G.  wrote:
> I would like to be able to create a static page with the same content, which
> will be updated daily, or whenever a new page is created. Is there a way in
> pmwiki to have such a page? Maybe a script that will run the pagelist with
> the same parameters as the current page, and write to an existing page, or
> create a new one.

A recipe I haven't updated in a while but still use actively,
Sitemapper [1], does exactly that. It maintains a sitemap that's
automatically updated and maintained when page edits are made. My main
use for the recipe is to automatically maintain multi-level navigation
for our department's sites [2], but it'll work fine just for the
backend as well.

The sitemap itself is maintained in markup as a nested tree of
unordered lists that's directly editable, and it even lets you refer
to the same page multiple times without problems. New pages (eg.
Group.Page) are added to the tree under the main page of their group
(Group.Group), if it exists, or under a catch-all "uncategorized"
label otherwise. Deletions also work automatically.

eemeli

[1] http://www.pmwiki.org/wiki/Cookbook/Sitemapper
[2] http://autsys.tkk.fi/en/

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


Re: [pmwiki-users] Pagelist favoring one group over another

2011-01-03 Thread Simon
I agree that this behaviour has puzzled me for some time, and I have been
meaning to submit a bug report.

I think it is a bug because it is inconsistent and unexpected. Everywhere
else name means page name, and group means group name.
If I wanted order by group I would say order=group,name,

I always say order=name in the expectation that sort will be by page name.
As a long time user of PmWiki I am actually surprised to hear it behaves
like this, and bet few more recent users of PmWiki would understand this
behaviour.

http://www.pmwiki.org/wiki/PmWiki/PageLists#pagelistorder is clear
that  order is by name.
I suggest that rather than changing the documentation we change the
behaviour.

Happy New Year

Simon



On 3 January 2011 08:01, Patrick R. Michaud  wrote:

> On Sun, Jan 02, 2011 at 11:30:13AM -0500, Ben Wilson wrote:
> > I have a simple pagelist:
> >
> > (:pagelist group=A,B name=2* order=name:)
> >
> > It first lists all group A then all group B. I would rather it list
> > all by name, interweaving groups.
> >
> > Thoughts?
>
> The "order=name" means the full name of the pages, which includes the group
> portion.  At one point we discussed using "order=fullname" to mean
> group+name,
> and leave "order=name" for "name only", but decided that ordering by group
> was the far more common case and deserved to be the shorter one.
>
> You should be able to do "order=$Name,$Group", which will
> sort alphabetically by name only (without the group), and then by
> group if there are any identical names.  The ability to use page
> variables for sorting is describe briefly in the order= option
> of http://www.pmwiki.org/wiki/PmWiki/PageLists.
>
> Hope this helps!
>
> Pm
>
> ___
> pmwiki-users mailing list
> pmwiki-users@pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 

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