You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Miles Elam <mi...@geekspeak.org> on 2003/02/08 20:14:44 UTC

Printable version

Do we want to change this to "downloadable version"?  I added some print 
directives to the stylesheet.  Try printing 
http://forrest.iguanacharlie.com/ to see the results.

- Miles



Re: Printable version

Posted by Konstantin Piroumian <kp...@apache.org>.
From: "Miles Elam" <mi...@geekspeak.org>

> Do we want to change this to "downloadable version"?  I added some print 
> directives to the stylesheet.  Try printing 
> http://forrest.iguanacharlie.com/ to see the results.

Wow!
How did you do that? Excellent!

-- Konstantin

> 
> - Miles
> 
> 
> 

Re: Printable version

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Jeff Turner wrote, On 10/02/2003 10.08:
...
> All: do these licensing terms look acceptable?
> 
> http://www.adobe.com/misc/linking.html#pdficon
> 
> Of note:
> 
>   "1. You will only display the Adobe PDF file icon on your Web site, and
>   not in any other manner.
>   2. The Adobe PDF file icon must appear by itself, with a minimum
>   spacing (the height of the icon) between each side of the icon and any
>   other graphic or textual elements on your Web page."
> 
> I think Forrest complies with 1, and we can live with 2, ridiculous
> though it is.

Oh, didn't know about this.
+0 from me then, and +1 to changing the printer icon for PDF link to 
something that resembles a document. Basically let's change it to a 
document, and +0 to use the adobe one for it.


-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Printable version

Posted by Jeff Turner <je...@apache.org>.
On Mon, Feb 10, 2003 at 10:44:37AM +0300, Konstantin Piroumian wrote:
> From: "Nicola Ken Barozzi" <ni...@apache.org>
> > Miles Elam wrote, On 08/02/2003 20.14:
> > > Do we want to change this to "downloadable version"?  I added some print
> > > directives to the stylesheet.  Try printing
> > > http://forrest.iguanacharlie.com/ to see the results.
> >
> > Yup, I've recently made the same for other skins, except that the
> > current Forrest one is still half-crap.
> >
> > I've already changed it to "printer-friendly PDF", is this ok?
> 
> I'd also suggest to change the "Printer-friendly" icon to something like a
> PDF/Acrobat logo which is more usual for PDF versions.

Good idea. 

All: do these licensing terms look acceptable?

http://www.adobe.com/misc/linking.html#pdficon

Of note:

  "1. You will only display the Adobe PDF file icon on your Web site, and
  not in any other manner.
  2. The Adobe PDF file icon must appear by itself, with a minimum
  spacing (the height of the icon) between each side of the icon and any
  other graphic or textual elements on your Web page."

I think Forrest complies with 1, and we can live with 2, ridiculous
though it is.

> Additionally, a new link to really a printer-friendly version could be
> added, which will display the same page in HTML, containing only the content
> part (just like it is displayed in Print preview at
> http://forrest.iguanacharlie.com/).

Using the PDF icon for PDFs frees up the printer icon for a
printer-friendly page.

--Jeff

> 
> -- Konstantin

Re: Printable version

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Konstantin Piroumian wrote, On 10/02/2003 10.10:
...
> Then if CSS skin is finalized and will replace the current one then we can
> place a JavaScript link on the printer icon to print the page, something lik
> e:
> 
>  <a onclick="javascript:window.print();return false;">...</a>
> 
> this will display the Print... dialog.

We can do it now too, no need to wait for the CSS only one.

Why do we need to wait for the CSS-only one?
http://forrestbot.cocoondev.org/sites//jakarta-avalon-site/index.html
(this needs minor fixes)
http://forrestbot.cocoondev.org/sites//xml-forrest-template/index.html

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Printable version

Posted by Konstantin Piroumian <kp...@apache.org>.
From: "Nicola Ken Barozzi" <ni...@apache.org>
> Konstantin Piroumian wrote, On 10/02/2003 8.44:
> > From: "Nicola Ken Barozzi" <ni...@apache.org>
> >>Miles Elam wrote, On 08/02/2003 20.14:
> >>
> >>>Do we want to change this to "downloadable version"?  I added some
print
> >>>directives to the stylesheet.  Try printing
> >>>http://forrest.iguanacharlie.com/ to see the results.
> >>
> >>Yup, I've recently made the same for other skins, except that the
> >>current Forrest one is still half-crap.
> >>
> >>I've already changed it to "printer-friendly PDF", is this ok?
> >
> >
> > I'd also suggest to change the "Printer-friendly" icon to something like
a
> > PDF/Acrobat logo which is more usual for PDF versions.
>
> Some days ago I've changed the name to Printer friendly PDF.
> For the icon, we don't have permission to put it, but IANAL.

I don't think that permission needed to use the attached image, but IANAL
either. I don't think that each site (e.g.
http://www.data-harvest.co.uk/downloads/downloads_sensors.html) that hase
PDF downloads should get some license for that.
What do the lawers think?

>
> > Additionally, a new link to really a printer-friendly version could be
> > added, which will display the same page in HTML, containing only the
content
> > part (just like it is displayed in Print preview at
> > http://forrest.iguanacharlie.com/).
>
> Also the other skins basically do it (the forrest one is not perfect but
> I don't care much since the CSS one will supercede). Try it.
>
> As for the link you suggest, how can you make it work?

Using a special matcher like '/index.xml.print' or maybe a cocoon-view
'index?cocoon-view=print' to generate only the content part of the document
then use a simplified stylesheet to transform it. Though, I must admit I
always forget that everything should also work from CLI.

Then if CSS skin is finalized and will replace the current one then we can
place a JavaScript link on the printer icon to print the page, something lik
e:

 <a onclick="javascript:window.print();return false;">...</a>

this will display the Print... dialog.

-- Konstantin

>
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>

Re: Printable version

Posted by Konstantin Piroumian <kp...@apache.org>.
From: "Nicola Ken Barozzi" <ni...@apache.org>
> Miles Elam wrote, On 08/02/2003 20.14:
> > Do we want to change this to "downloadable version"?  I added some print
> > directives to the stylesheet.  Try printing
> > http://forrest.iguanacharlie.com/ to see the results.
>
> Yup, I've recently made the same for other skins, except that the
> current Forrest one is still half-crap.
>
> I've already changed it to "printer-friendly PDF", is this ok?

I'd also suggest to change the "Printer-friendly" icon to something like a
PDF/Acrobat logo which is more usual for PDF versions.

Additionally, a new link to really a printer-friendly version could be
added, which will display the same page in HTML, containing only the content
part (just like it is displayed in Print preview at
http://forrest.iguanacharlie.com/).

-- Konstantin

>
> --
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------
>
>


Re: Printable version

Posted by Nicola Ken Barozzi <ni...@apache.org>.

Miles Elam wrote, On 08/02/2003 20.14:
> Do we want to change this to "downloadable version"?  I added some print 
> directives to the stylesheet.  Try printing 
> http://forrest.iguanacharlie.com/ to see the results.

Yup, I've recently made the same for other skins, except that the 
current Forrest one is still half-crap.

I've already changed it to "printer-friendly PDF", is this ok?

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------