[Product-Developers] Get page inside Plone

3 Messages Forum Options Options
Permalink
Johannes Schwenk
[Product-Developers] Get page inside Plone
Reply Threaded More
Print post
Permalink
Hello!

I would like to know, if there is a way to get the source of a page in default
view via a script inside Plone-2.5.5 / Zope-2.8.8-final . The script should
return the HTML-Page as would be normally delivered by a browser. Is this
possible?

Thank you for your assistance!

Johannes Schwenk

_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers
Andreas Jung-5
Re: [Product-Developers] Get page inside Plone
Reply Threaded More
Print post
Permalink


--On 3. Juli 2008 17:44:34 +0200 Johannes Schwenk
<johannes.schwenk@...> wrote:

> Hello!
>
> I would like to know, if there is a way to get the source of a page in
> default  view via a script inside Plone-2.5.5 / Zope-2.8.8-final . The
> script should  return the HTML-Page as would be normally delivered by a
> browser. Is this  possible?
>

someobject.view() ?

-aj

_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers

attachment0 (201 bytes) Download Attachment
Hendrik Bunke
Re: [Product-Developers] Get page inside Plone
Reply Threaded More
Print post
Permalink
--On Thu, 3 Jul 2008 17:54, Andreas Jung wrote:

>
>
> --On 3. Juli 2008 17:44:34 +0200 Johannes Schwenk <johannes.schwenk@...>
> wrote:
>
> > Hello!
> >
> > I would like to know, if there is a way to get the source of a page in
> > default  view via a script inside Plone-2.5.5 / Zope-2.8.8-final . The
> > script should  return the HTML-Page as would be normally delivered by a
> > browser. Is this  possible?
> >
>
> someobject.view() ?

And to get only the pure content (without title etc.)
someobject.EditableBody()

regards
hendrik

-
Dr. Hendrik Bunke
blog: http://hbxt.org/
com:  http://hbxt.de/

_______________________________________________
Product-Developers mailing list
Product-Developers@...
http://lists.plone.org/mailman/listinfo/product-developers