Thanks for stating the obvious. However, instead of reinventing
the wheel, I would like to know if anyone's already done this.
As it turns out, SafeHTML from http://xcache.lighttpd.net seems
to fit the bill.
/L

Noah Kantrowitz wrote:
> Just make a little macro.
> 
> --Noah
> 
> Lars Stavholm wrote:
>> Hi All,
>>
>> I'm trying to figure out how to include http://www.ohloh.net "badges"
>> in the form of javascript snippets on my trac http://www.linadd.org.
>>
>> The snippet to be included looks something like this:
>>
>> <SCRIPT type='text/javascript' language='JavaScript'
>> src='http://www.ohloh.net/projects/3052;badge_js'></SCRIPT>
>>
>> ...where the integer 3052 would be different for different wiki pages
>> (covering different projects) or even several inclusions with different
>> project codes (the integer) on the same wiki page.
>>
>> I've tried the html preprocessor to no avail, and I've looked at the
>> FlexJsPlugin on http://trac-hacks.org, but the FlexJsPlugin is ment
>> for global inclusion of javascript.
>>
>> Any ideas?
>>
>> Cheers
>> /Lars
>>
>>
>> >>
>>
>>   
> 
> 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to