Re: Re: HTML in meta content

Matt Dowell <[email protected]>
Newsgroups gmane.comp.web.sitemesh.general
Message-ID <[email protected]>
Chris,

Yes, you are correct. I wanted to pass a block of text "Page Description" that
was placed within a decorated block on the page. I though the cleanest way to
do this was with a META tag. It turns out the <decorator:getParameter tag was a
better way. I did not fully understand the power of that tag.

In return for your nice product, I would like to put a page on the wiki as a
quick How To. If only I could get to the sitemesh wiki ;)

Thanks,

Matt


Quoting Chris Miller <[email protected]>:

> It's also quite possibly something that's not supported by HTML! Or were 
> you thinking about escaping the HTML in the metatags and then unescaping 
> it in the decorator? In which case you could probably just pass it 
> through escaped, and then unescape it yourself in the decorator using 
> some helper code or whatever. This should work as-is, although it's not 
> something I've tried.
> 
> Can you give us an example of what you're trying to achieve? Perhaps 
> there's a better way, since passing HTML through the meta tag seems like 
> a nasty hack to me.
> 
> As an aside, I was playing with the current CVS snapshot of Sitemesh 
> last night and many of the webcontainer testcases fail when run under 
> Orion 2.0.2/2.0.3 EAP. I didn't have time to get to the bottom of it all 
> but it looks like there are problems with the taglib/tld configuration, 
> and also with the Freemarker additions (IIRC one of the problems was 
> that the freemarker decorator was looking for freemarker.vm instead of 
> freemarker.ftl - there were other problems too). Could whoever made 
> those changes please take a look into this?
> 
> 
> Mathias Bogaert wrote:
> > Matt,
> > 
> > This is something that is currently not supported by the parser  
> > (FastPageParser). Feel free to submit a patch, but make sure the  
> > testcases still complete successfully with your patch.
> > 
> > https://sitemesh.dev.java.net/source/browse/sitemesh/src/java/com/ 
> > opensymphony/module/sitemesh/parser/FastPageParser.java? 
> > rev=1.10&content-type=text/vnd.viewcvs-markup
> > 
> > Cheers,
> > Mathias
> > 
> > On 13 May 2004, at 00:32, Matt Dowell wrote:
> > 
> >> Is there any good technical reason why I cannot put HTML in my meta
> >> tags? If this is a bug, could someone fix it or point me to the class
> >> and I will submit a patch? Thanks.
> >>
> >> Matt Dowell
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by Sleepycat Software
> >> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to  
> >> deliver
> >> higher performing products faster, at low TCO.
> >> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> >> _______________________________________________
> >> Opensymphony-sitemesh mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/opensymphony-sitemesh
> >>
> >>
> > Mathias Bogaert
> > Senior Software Architect
> > Intrasoft International
> > Mobile +32 (0) 478 48 28 96
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: SourceForge.net Broadband
> > Sign-up now for SourceForge Broadband and get the fastest
> > 6.0/768 connection for only $19.95/mo for the first 3 months!
> > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: SourceForge.net Broadband
> Sign-up now for SourceForge Broadband and get the fastest
> 6.0/768 connection for only $19.95/mo for the first 3 months!
> http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
> _______________________________________________
> Opensymphony-sitemesh mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-sitemesh
> 
> 




-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
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.