You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Rolf Kulemann <ma...@rolf-kulemann.com> on 2003/11/11 11:17:23 UTC

Feature Att(H)ack- Page Footer

Hello List,

I hacked the aggregation of a page footer into publication-sitemap.xmap.
The transfomration is done by footer2xhtml.xsl which is included in
publication-sitemap.xmap. The footer details are kept in footer.xml.

See attachmed files for more details.....
The files are taken from a pub workspace.

I send this email in order to link to it from bugzilla.

Have fun :-)


-- 
Rolf Kulemann

Excess on occasion is exhilarating.  It prevents moderation from
acquiring the deadening effect of a habit.
		-- W. Somerset Maugham


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA

RE: Feature Att(H)ack- Page Footer

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Sat, 2003-11-15 at 07:49, Danny Bols wrote:
> Why such a difficult solution?....

It is the most easy solution I could find for a generic page footer.

> I place my fixed footer in the
> page2xhtml.xsl.
> What are the advantages of your solution?

The advantages are:

- My module passes some dc data often used in page footers to
footer2xhtml.xsl, so you have not to care for it. Such data is i.e. last
modified date, author and copyright.

- Defines a standard place for footer aggregation

- Prepares lenya for more comfortable site administration in the future

- We could document this standard way of "pagefooting" so that users do
not have to search for a way how to use a page footer.

- Me and you are developers...some users not, therefor I prefer a
standard mechanism and place where the footer aggregation is
implemented.


Why use Lenya? I did my sites with cocoon before.....was not a
problem...why use a complicated cms???

In my opinion a standard page footer aggregation fits into a cms
framework what Lenya is by definition, afaik.

Have fun.



-- 
Rolf Kulemann

Legalize free-enterprise murder: why should governments have all the
fun?


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


RE: Feature Att(H)ack- Page Footer

Posted by Danny Bols <db...@osirion.be>.
Why such a difficult solution?....I place my fixed footer in the
page2xhtml.xsl.
What are the advantages of your solution?

--
Danny

> -----Original Message-----
> From: Rolf Kulemann [mailto:mail@rolf-kulemann.com]
> Sent: vrijdag 14 november 2003 20:50
> To: Lenya Developers List
> Subject: Re: Feature Att(H)ack- Page Footer
>
>
> On Tue, 2003-11-11 at 11:17, Rolf Kulemann wrote:
> > Hello List,
> >
> > I hacked the aggregation of a page footer into publication-sitemap.xmap.
> --- snip ----
>
> Here is the latest version of my page footer stuff.
> I know integrated generation of the page footer into
> lenya/global-sitemap.xmap.
>
> Furhter files:
> - lenya/lenya/footer.xmap
> - lenya/lenya/content/site/footer_[en,de].xml
> - lenya/lenya/xslt/site/footer2xhtml.xsl
>
>
> I have also interated the page footer into the default publication.
> See the attached files
> - pubs/default/resources/css/page.css#footer
> - pubs/default/publication-sitemap.xmap
> - pubs/default/xslt/site/page2xhtml.xsl
> - screenshot of default pub with example page footer
>
> If you are looking for my changes in the attached files, search for the
> string "RKUPATCH".
>
> This file is for bugzilla tracking.
>
>
> --
> Rolf Kulemann
>
> A Mexican newspaper reports that bored Royal Air Force pilots stationed
> on the Falkland Islands have devised what they consider a marvelous new
> game.  Noting that the local penguins are fascinated by airplanes, the
> pilots search out a beach where the birds are gathered and fly slowly
> along it at the water's edge.  Perhaps ten thousand penguins turn their
> heads in unison watching the planes go by, and when the pilots turn
> around and fly back, the birds turn their heads in the opposite
> direction, like spectators at a slow-motion tennis match.  Then, the
> paper reports, "The pilots fly out to sea and directly to the penguin
> colony and overfly it.  Heads go up, up, up, and ten thousand penguins
> fall over gently onto their backs.
> 		-- Audobon Society Magazine
>
>
> PGP/GPG public key:
> 	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Feature Att(H)ack- Page Footer

Posted by Rolf Kulemann <ma...@rolf-kulemann.com>.
On Tue, 2003-11-11 at 11:17, Rolf Kulemann wrote:
> Hello List,
> 
> I hacked the aggregation of a page footer into publication-sitemap.xmap.
--- snip ----

Here is the latest version of my page footer stuff.
I know integrated generation of the page footer into
lenya/global-sitemap.xmap.

Furhter files:
- lenya/lenya/footer.xmap
- lenya/lenya/content/site/footer_[en,de].xml
- lenya/lenya/xslt/site/footer2xhtml.xsl


I have also interated the page footer into the default publication.
See the attached files
- pubs/default/resources/css/page.css#footer
- pubs/default/publication-sitemap.xmap
- pubs/default/xslt/site/page2xhtml.xsl
- screenshot of default pub with example page footer

If you are looking for my changes in the attached files, search for the
string "RKUPATCH".

This file is for bugzilla tracking.


-- 
Rolf Kulemann

A Mexican newspaper reports that bored Royal Air Force pilots stationed
on the Falkland Islands have devised what they consider a marvelous new
game.  Noting that the local penguins are fascinated by airplanes, the
pilots search out a beach where the birds are gathered and fly slowly
along it at the water's edge.  Perhaps ten thousand penguins turn their
heads in unison watching the planes go by, and when the pilots turn
around and fly back, the birds turn their heads in the opposite
direction, like spectators at a slow-motion tennis match.  Then, the
paper reports, "The pilots fly out to sea and directly to the penguin
colony and overfly it.  Heads go up, up, up, and ten thousand penguins
fall over gently onto their backs.
		-- Audobon Society Magazine


PGP/GPG public key:
	 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x6B4EA7EA