Marc doesn't have the code anymore.
java2html outputs a lot of font tags. It doesn't do what i
want.
The colorization should be done in the CSS, not in the Java
to HTML code.
I want to use GeSHi. GeSHi is written in PHP.
I think ImportTool can be used to call apache HTTP server,
passing the
code as query string text.
$import.read("http:/
/myDomain.com/CodeProcessor/?code=" +
entryOrComment )
(this is probably a big PHP security hole).
So then, if I can do this, how do I get entryOrComment?
Where do I put
the $import statement?
Do I have to make an interceptor for Entry events and post
events and
pass that code to apache to be handled by PHP? That's a lot
of work to
me. Is there an easier way to run that PHP? Maybe with a
filter?
http://blojsom.cvs.sourceforge
.net/blojsom/blojsom-3.0/plugins/src/org/blojsom/plugin/filt
er/XSSFilterPlugin.java?revision=1.5&view=markup
Thank you,
Garrett
On 5/19/07, Cliffano Subagio <cliffano gmail.com> wrote:
> For Java code:
> Marc built such plugin for Blojsom2
> http
://www.logemann.org/day/archives/000151.html
> but the download has disappeared since he moved from
Blojsom to WP.
> If you can ask him for the Blojsom2 code, then porting
to Blojsom3 would be
> easy.
> Otherwise you can do what he initially did, wrapping
java2html, but this
> time for Blojsom3 plugin.
>
> For everything else, you can apply the same approach.
If there's already a
> java library for code syntax then wrapping it as a
Blojsom plugin wouldn't
> be hard.
>
> Cheers,
> Cliff.
>
>
> On 5/20/07, Garrett Smith <dhtmlkitchen gmail.com> wrote:
> >
> > I am looking for a code decorator plugin so I can
post pretty code
> > samples with hilited keywords, strings, comments,
et c.
> >
> >
> http://wiki.blojsom.com/wiki/display/blojsom/Avail
able+Plugins
> >
> > I did do search but don't see one there.
> >
> > Please advise.
> >
> > Thank you,
> >
> > Garrett
> >
> >
>
------------------------------------------------------------
-------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-users lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
--
site still down.
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|