[pmwiki-users] Announcement: Google Map API v.2.0.0--Hot off the press
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 24 11:34:59 CDT 2006
On Thu, Aug 24, 2006 at 09:12:54AM -0500, Ben Wilson wrote:
> On 8/24/06, Hans <hans.bracker at googlemail.com> wrote:
> > On 23/08/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > > I'll take it under advisement for now, but at the moment I'm
> > > leaning in favor of it. How many recipes are there
> > > (besides GoogleMapAPI) that need this?
> > I don't know of any. GoogleMapAPI is the first I come across which
> > needs manual modifications of the skin template.
> Adding to the Skin is not something I crave doing---it is a necessary
> evil to provide a dynamic map interface to a wiki. That said, it would
> be excellent if I could just append to an array as I do with
> HTMLHeaderFmt (HTMLFooterFmt?) To say that only GMA needs it does
> not mean that other recipes could not use it. Adding a HTMLFooterFmt
> is also symetrical. There is a GroupFooterFmt and a GroupHeaderFmt,
> but only a HTMLHeaderFmt. [...]
Sure, because GroupHeader and GroupFooter refer to content, while
HTML refers to structure, and HTML's structure is asymmetrical.
In HTML there's a <head> and a <body>, but no <foot>. The "header"
in $HTMLHeaderFmt represents things to go into the <head> section
of the HTML output. HTML doesn't have a notion of "footers".
That doesn't mean that I think we shouldn't offer the ability to
programmatically add more things into a template, simply that the
notion of "header" and "footer" are technically misnamed for this.
(Still, it may be easier to explain or think of it in terms of
"header" and "footer", so we may use that anyway.)
More information about the pmwiki-users