You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Rakesh Midha <mi...@gmail.com> on 2006/09/10 15:33:40 UTC
External web page
Hello
Is there a way to look open external web page as one of the tab in lenya?
Either show a page as a browser in one of the tab.
thanks
Rakesh
Re: External web page
Posted by Rakesh Midha <mi...@gmail.com>.
Jörn
Sorry about that, I will be little more careful about it. Actually I started
the conversation on both dev and user list. and I got reply only though dev
list. Hence this thread in dev list.
Sorry about it. I will start the same thread in user list.
thanks
Rakesh
On 9/13/06, Jörn Nettingsmeier <po...@uni-duisburg.de> wrote:
>
> rakesh, in case you haven't noticed, your questions are deliberately
> being ignored on the dev list because they have absolutely nothing to do
> with lenya development and belong on the user list.
> please respect basic netiquette, choose the appropriate forum and write
> your mails a little more carefully so that people know what you want to
> accomplish and where the problem really is.
>
>
> Rakesh Midha wrote:
> > Another problem with iframe is if i use iframe my menus gets disabled.
> >
> > On 9/13/06, *Rakesh Midha* <midha.rakesh@gmail.com
> > <ma...@gmail.com>> wrote:
> >
> > I am not able to add script tag using "One form editor" or any other
> > editor. But if i manually change the document it works fine.
> >
> > Now the another problem is setting window.location will change the
> > content of this window...but what i want is i want to change content
> > of particular tab only.
> >
> > One way i could think of is...instead of script tag...use IFrame, so
> > i added
> > <IFRAME SRC="http://www.google.com <http://www.google.com>"
> > frameborder="no" scrolling="auto" width="100%"
> height="338"></IFRAME>
> >
> > Can anyone suggest any other better way.
> >
> > thanks
> > Rakesh
>
>
> --
> "Open source takes the bullshit out of software."
> - Charles Ferguson on TechnologyReview.com
>
> --
> Jörn Nettingsmeier, EDV-Administrator
> Institut für Politikwissenschaft
> Universität Duisburg-Essen, Standort Duisburg
> Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
Re: External web page
Posted by Jörn Nettingsmeier <po...@uni-duisburg.de>.
rakesh, in case you haven't noticed, your questions are deliberately
being ignored on the dev list because they have absolutely nothing to do
with lenya development and belong on the user list.
please respect basic netiquette, choose the appropriate forum and write
your mails a little more carefully so that people know what you want to
accomplish and where the problem really is.
Rakesh Midha wrote:
> Another problem with iframe is if i use iframe my menus gets disabled.
>
> On 9/13/06, *Rakesh Midha* <midha.rakesh@gmail.com
> <ma...@gmail.com>> wrote:
>
> I am not able to add script tag using "One form editor" or any other
> editor. But if i manually change the document it works fine.
>
> Now the another problem is setting window.location will change the
> content of this window...but what i want is i want to change content
> of particular tab only.
>
> One way i could think of is...instead of script tag...use IFrame, so
> i added
> <IFRAME SRC="http://www.google.com <http://www.google.com>"
> frameborder="no" scrolling="auto" width="100%" height="338"></IFRAME>
>
> Can anyone suggest any other better way.
>
> thanks
> Rakesh
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: Fwd: External web page
Posted by Jörn Nettingsmeier <po...@uni-duisburg.de>.
Rakesh Midha wrote:
>
> Another problem with iframe is if i use iframe my menus gets disabled.
>
if you want to insert an external website into a tab, you will have to
parse it and separate the content from the html headers. in order to be
able to do that with cocoon, the external page needs to be valid xml. if
it isn't, you might want to read about the HTMLGenerator.
the cleanest way to solve the lenya side of the problem is to introduce
your own custom doctype for it, check the wiki for how it's done.
the "document" might contain only a custom tag with a URL that you want
inserted into your page. the doctype sitemap will parse that, feed it as
a src="" param to the HTML generator, pipe it through a stylesheet that
will extract the relevant part (i.e. the content of <body/>) and
serialize it as xml.
that way, you can even edit those external page urls with the oneform
editor. (i do a similar thing for xml database content, where the
document contains an xquery that cen be edited easily with oneform.)
regards,
jörn
> On 9/13/06, * Rakesh Midha* <midha.rakesh@gmail.com
> <ma...@gmail.com>> wrote:
>
> I am not able to add script tag using "One form editor" or any other
> editor. But if i manually change the document it works fine.
>
> Now the another problem is setting window.location will change the
> content of this window...but what i want is i want to change content
> of particular tab only.
>
> One way i could think of is...instead of script tag...use IFrame, so
> i added
> <IFRAME SRC="http://www.google.com <http://www.google.com>"
> frameborder="no" scrolling="auto" width="100%" height="338"></IFRAME>
>
> Can anyone suggest any other better way.
>
> thanks
> Rakesh
>
>
> On 9/12/06, * Rakesh Midha* <midha.rakesh@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hello In Lenya 1.4, I am not able to add script tag in xhtml
> document.
>
> I get following error message, Any idea whats the problem or
> java script is not allowed in xhtml pages.
>
> unknown element "script" from namespace "
> http://www.w3.org/1999/xhtml"
>
> thanks
> rakesh
>
>
> On 9/11/06, *solprovider@apache.org
> <ma...@apache.org>* <solprovider@apache.org
> <ma...@apache.org>> wrote:
>
> On 9/10/06, Rakesh Midha <midha.rakesh@gmail.com
> <ma...@gmail.com>> wrote:
> > Is there a way to look open external web page as one of
> the tab in lenya?
> >
> > Either show a page as a browser in one of the tab.
>
> In 1.2, I manually edited the live sitemap.
> FILE: {pub}/content/live/sitetree.xml
> <node href=" http://solprovider.com" id="solprovider"
> visibleinnav="true">
> <label xml:lang="en">Solprovider</label>
> </node>
>
> Another method is to create a Document, and put some
> JavaScript on the
> page in Source mode:
> <SCRIPT LANGUAGE="JAVASCRIPT">
> window.location = "http://solprovider.com";
> </SCRIPT>
>
> In 1.3, external links are just another Resource. The
> editor for the
> "link" Resource type works well, but you want to wait until
> the XML
> editor (for documents) and Structure editor (for hierarchical
> sitetrees) are ready before using 1.3.
>
> Someone else can answer for 1.4.
>
> solprovider
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> <ma...@lenya.apache.org>
> For additional commands, e-mail: dev-help@lenya.apache.org
> <ma...@lenya.apache.org>
>
>
>
>
--
"Open source takes the bullshit out of software."
- Charles Ferguson on TechnologyReview.com
--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: pol-admin@uni-due.de, Telefon: 0203/379-2736
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Fwd: External web page
Posted by Rakesh Midha <mi...@gmail.com>.
Another problem with iframe is if i use iframe my menus gets disabled.
On 9/13/06, Rakesh Midha <midha.rakesh@gmail.com > wrote:
>
> I am not able to add script tag using "One form editor" or any other
> editor. But if i manually change the document it works fine.
>
> Now the another problem is setting window.location will change the content
> of this window...but what i want is i want to change content of particular
> tab only.
>
> One way i could think of is...instead of script tag...use IFrame, so i
> added
> <IFRAME SRC="http://www.google.com " frameborder="no" scrolling="auto"
> width="100%" height="338"></IFRAME>
>
> Can anyone suggest any other better way.
>
> thanks
> Rakesh
>
>
> On 9/12/06, Rakesh Midha <midha.rakesh@gmail.com > wrote:
> >
> > Hello In Lenya 1.4, I am not able to add script tag in xhtml document.
> >
> > I get following error message, Any idea whats the problem or java script
> > is not allowed in xhtml pages.
> >
> > unknown element "script" from namespace " http://www.w3.org/1999/xhtml"
> >
> > thanks
> > rakesh
> >
> >
> > On 9/11/06, solprovider@apache.org <so...@apache.org> wrote:
> > >
> > > On 9/10/06, Rakesh Midha <mi...@gmail.com> wrote:
> > > > Is there a way to look open external web page as one of the tab in
> > > lenya?
> > > >
> > > > Either show a page as a browser in one of the tab.
> > >
> > > In 1.2, I manually edited the live sitemap.
> > > FILE: {pub}/content/live/sitetree.xml
> > > <node href=" http://solprovider.com" id="solprovider"
> > > visibleinnav="true">
> > > <label xml:lang="en">Solprovider</label>
> > > </node>
> > >
> > > Another method is to create a Document, and put some JavaScript on the
> > > page in Source mode:
> > > <SCRIPT LANGUAGE="JAVASCRIPT">
> > > window.location = "http://solprovider.com";
> > > </SCRIPT>
> > >
> > > In 1.3, external links are just another Resource. The editor for the
> > > "link" Resource type works well, but you want to wait until the XML
> > > editor (for documents) and Structure editor (for hierarchical
> > > sitetrees) are ready before using 1.3.
> > >
> > > Someone else can answer for 1.4.
> > >
> > > solprovider
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail: dev-help@lenya.apache.org
> > >
> > >
> >
>
Re: External web page
Posted by Rakesh Midha <mi...@gmail.com>.
Another problem with iframe is if i use iframe my menus gets disabled.
On 9/13/06, Rakesh Midha <mi...@gmail.com> wrote:
>
> I am not able to add script tag using "One form editor" or any other
> editor. But if i manually change the document it works fine.
>
> Now the another problem is setting window.location will change the content
> of this window...but what i want is i want to change content of particular
> tab only.
>
> One way i could think of is...instead of script tag...use IFrame, so i
> added
> <IFRAME SRC="http://www.google.com" frameborder="no" scrolling="auto"
> width="100%" height="338"></IFRAME>
>
> Can anyone suggest any other better way.
>
> thanks
> Rakesh
>
>
> On 9/12/06, Rakesh Midha <midha.rakesh@gmail.com > wrote:
> >
> > Hello In Lenya 1.4, I am not able to add script tag in xhtml document.
> >
> > I get following error message, Any idea whats the problem or java script
> > is not allowed in xhtml pages.
> >
> > unknown element "script" from namespace " http://www.w3.org/1999/xhtml"
> >
> > thanks
> > rakesh
> >
> >
> > On 9/11/06, solprovider@apache.org <so...@apache.org> wrote:
> > >
> > > On 9/10/06, Rakesh Midha <mi...@gmail.com> wrote:
> > > > Is there a way to look open external web page as one of the tab in
> > > lenya?
> > > >
> > > > Either show a page as a browser in one of the tab.
> > >
> > > In 1.2, I manually edited the live sitemap.
> > > FILE: {pub}/content/live/sitetree.xml
> > > <node href=" http://solprovider.com" id="solprovider"
> > > visibleinnav="true">
> > > <label xml:lang="en">Solprovider</label>
> > > </node>
> > >
> > > Another method is to create a Document, and put some JavaScript on the
> > > page in Source mode:
> > > <SCRIPT LANGUAGE="JAVASCRIPT">
> > > window.location = "http://solprovider.com";
> > > </SCRIPT>
> > >
> > > In 1.3, external links are just another Resource. The editor for the
> > > "link" Resource type works well, but you want to wait until the XML
> > > editor (for documents) and Structure editor (for hierarchical
> > > sitetrees) are ready before using 1.3.
> > >
> > > Someone else can answer for 1.4.
> > >
> > > solprovider
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> > > For additional commands, e-mail: dev-help@lenya.apache.org
> > >
> > >
> >
>
Re: External web page
Posted by Rakesh Midha <mi...@gmail.com>.
I am not able to add script tag using "One form editor" or any other editor.
But if i manually change the document it works fine.
Now the another problem is setting window.location will change the content
of this window...but what i want is i want to change content of particular
tab only.
One way i could think of is...instead of script tag...use IFrame, so i added
<IFRAME SRC="http://www.google.com" frameborder="no" scrolling="auto"
width="100%" height="338"></IFRAME>
Can anyone suggest any other better way.
thanks
Rakesh
On 9/12/06, Rakesh Midha <mi...@gmail.com> wrote:
>
> Hello In Lenya 1.4, I am not able to add script tag in xhtml document.
>
> I get following error message, Any idea whats the problem or java script
> is not allowed in xhtml pages.
>
> unknown element "script" from namespace " http://www.w3.org/1999/xhtml"
>
> thanks
> rakesh
>
>
> On 9/11/06, solprovider@apache.org <so...@apache.org> wrote:
> >
> > On 9/10/06, Rakesh Midha <mi...@gmail.com> wrote:
> > > Is there a way to look open external web page as one of the tab in
> > lenya?
> > >
> > > Either show a page as a browser in one of the tab.
> >
> > In 1.2, I manually edited the live sitemap.
> > FILE: {pub}/content/live/sitetree.xml
> > <node href="http://solprovider.com" id="solprovider"
> > visibleinnav="true">
> > <label xml:lang="en">Solprovider</label>
> > </node>
> >
> > Another method is to create a Document, and put some JavaScript on the
> > page in Source mode:
> > <SCRIPT LANGUAGE="JAVASCRIPT">
> > window.location = "http://solprovider.com";
> > </SCRIPT>
> >
> > In 1.3, external links are just another Resource. The editor for the
> > "link" Resource type works well, but you want to wait until the XML
> > editor (for documents) and Structure editor (for hierarchical
> > sitetrees) are ready before using 1.3.
> >
> > Someone else can answer for 1.4.
> >
> > solprovider
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: dev-help@lenya.apache.org
> >
> >
>
Re: External web page
Posted by Rakesh Midha <mi...@gmail.com>.
Hello In Lenya 1.4, I am not able to add script tag in xhtml document.
I get following error message, Any idea whats the problem or java script is
not allowed in xhtml pages.
unknown element "script" from namespace "http://www.w3.org/1999/xhtml"
thanks
rakesh
On 9/11/06, solprovider@apache.org <so...@apache.org> wrote:
>
> On 9/10/06, Rakesh Midha <mi...@gmail.com> wrote:
> > Is there a way to look open external web page as one of the tab in
> lenya?
> >
> > Either show a page as a browser in one of the tab.
>
> In 1.2, I manually edited the live sitemap.
> FILE: {pub}/content/live/sitetree.xml
> <node href="http://solprovider.com" id="solprovider" visibleinnav="true">
> <label xml:lang="en">Solprovider</label>
> </node>
>
> Another method is to create a Document, and put some JavaScript on the
> page in Source mode:
> <SCRIPT LANGUAGE="JAVASCRIPT">
> window.location = "http://solprovider.com";
> </SCRIPT>
>
> In 1.3, external links are just another Resource. The editor for the
> "link" Resource type works well, but you want to wait until the XML
> editor (for documents) and Structure editor (for hierarchical
> sitetrees) are ready before using 1.3.
>
> Someone else can answer for 1.4.
>
> solprovider
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
Re: External web page
Posted by so...@apache.org.
On 9/10/06, Rakesh Midha <mi...@gmail.com> wrote:
> Is there a way to look open external web page as one of the tab in lenya?
>
> Either show a page as a browser in one of the tab.
In 1.2, I manually edited the live sitemap.
FILE: {pub}/content/live/sitetree.xml
<node href="http://solprovider.com" id="solprovider" visibleinnav="true">
<label xml:lang="en">Solprovider</label>
</node>
Another method is to create a Document, and put some JavaScript on the
page in Source mode:
<SCRIPT LANGUAGE="JAVASCRIPT">
window.location = "http://solprovider.com";
</SCRIPT>
In 1.3, external links are just another Resource. The editor for the
"link" Resource type works well, but you want to wait until the XML
editor (for documents) and Structure editor (for hierarchical
sitetrees) are ready before using 1.3.
Someone else can answer for 1.4.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org