Re: Webclipping - Frame and stylesheet

Cédric Mailleux <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

In an html page you can only have a tag body (and olny one) or a tage 
frameset but you can't have the twice so you can use the iframe tag to 
do the same things, I have tested this on a 4.06 and itt's worked, try 
to use the last webclipping from the cvs, it corrects many bugs and add 
some useful options.

Nicolas POIRIER a écrit :

> Ok for stylesheet. I put css link into <body> tag.
>
> But for the frame, if Jahia use only the subcontent of the tag body, 
> how does it work with tag <frameset> (<frameset> should replace tag 
> <body> in a HTML page). I try with a simple example, but it doesn't work.
>
> page "frame.html" :
> <html>
> <head><title>Test frame</title></head>
> <frameset rows="*,*">
>    <frame name="page1" src="page1.html">
>    <frame name="page2" src="page2.html"
> </frameset>
> <noframes>
>   <body>  no frame  </body>
> </noframes>
> </html>
>
> When I put the url of "frame.html" page into webclipping component, 
> I've the next result into web application :
> [set rows="*,*"> 
> src="http://p-docvisite.rd.francetelecom.fr/frames/page1.html" 
> name="page1" > name="page2" src="page2.html"]
>
>
> Cédric Mailleux a écrit:
>
>> Nicolas POIRIER a écrit :
>>
>>> Hi,
>>>
>>> I want to include some HTML pages from a another server into a Jahia 
>>> page. I use the component "webclipping-1.0", but I've two problems :
>>> -  include page's stylesheet seems not to be use into the Jahia page ?
>>
>>
>>
>> Jahia use only the subcontent of the tag body from the html returned 
>> by a webapp, if your stylesheet are defined inside the body tag there 
>> will be no problem to have them loaded in jahia (check there's no 
>> conflict). The webclipping component only moved the script tag from 
>> the original source into the body to avoid script error.
>>
>>> -  component is not able to use <frame> tag ?
>>
>>
>>
>> The component can work with frame, if the src attribute is a non 
>> absoluite url the componet rewrite it in an absolute way.
>>
>>>
>>> Of other component allows to resolve these problems
>>>
>>> Thanks,
>>> Nicolas Poirier
>>>
>>>
>>>
>> Regards,
>>
>> Cédric Mailleux
>>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.