May
28
For information on exactly what dp.SyntaxHighlighter is, please see it's
code-site on Google Code. Due to theme compatibility I've had to make some moderate changes to the original CSS of the SyntaxHighlighter package (for better, not for worse), there are no actual visual differences from the examples given in the original package (well, there shouldn't be anyhow, that's what my modifications were for, but this is a first release / test version).
I've always preferred the markup that the
SyntaxHighlighter script from
Dream Projections (now hosted on Google Code) created over GeSHi's output. Although when using GeSHi the code itself is made "pretty", it's not a necessity, so I feel that the use of JavaScript and CSS would be better served for this purpose than using server-side techniques as GeSHi does. This is where dp.SyntaxHighlighter comes to the rescue, and it handles it wonderfully!
What would the output look like using this script/plugin?
Example without JavaScript enabled:
Using a PRE tag:
<?php
//the infamous Hello World
echo "Hello World!";
?>
Using a TEXTAREA tag:
With JavaScript/plugin enabled (either PRE or TEXTAREA):
You'll have to read on to see supported languages and usage information.
Continue reading "Serendipity dp.SyntaxHighlighter Plugin Available"
Posted by Brendon Kozlowski
May
27
I completely reinstalled this blog software from scratch. There were some issues I was having with the continuous upgrading that needed to be purged from the database, but I was unaware which settings were causing problems, so...to be sure it all worked, I did a fresh install and manually inserted all of the posts/comments information back in. The largest problem that was fixed was that
email addresses are no longer listed with comment authors as was the case with the last few upgrades. It wasn't listed as an actual email, but many harvesters can still read the
barely obfuscated
name [at] example [dot] com type of email...and that bothered me to no end.
"So why didn't you do this sooner?!"
I had moderately modified the theme I was using at the time for certain functionality and I knew that if I cleaned everything out, I would lose all those modifications again, so I've been testing some plugins I created to carry these changes over from theme to theme, rather than modifying them all the time. In other words, I needed to finish working on the plugins before doing this -- sorry about that!
I'm currently using one of the famous Andreas Viklund themes which was ported to Serendipity; I may, at some point in time, update the CSS to be a semi-fluid layout rather than fixed. Also, I should be releasing one of my plugins once I fix some CSS specific issues (a markup plugin, dp.SyntaxHighlighter, a JavaScript-based alternative to GeSHi).
Posted by Brendon Kozlowski
May
23
It's interesting how you'll sometimes find things accidentally that you really needed to know only a few days before, but still helps now! I love great timing.
Thanks to Kevin Yank over at
Sitepoint, and his News Wire linkage, I was re-introduced to the BUTTON element; that all-forgotten element that was used a long time ago in certain JavaScript ONLY enabled pages. This element has certain characteristics that make it much more versatile than the standard submit button of an INPUT element. You'll be better off reading on the source than listening to me blab:
Styling the Button Element
Also, if anyone's even slightly interested in OpenID (and if you're a developer, you
should be), you'll want to check out
Dan Webb's introductory article in to implementing OpenID in your own applications. (Update...) In terms of PHP, Sara Goleman also pointed out
some more cool stuff, although I like the discussion in the comments better.
Posted by Brendon Kozlowski
May
21
I just came across this accidentally, but it was pretty fun getting past level 12. I was able to get 58 out of all 60.
Boomshine
Posted by Brendon Kozlowski
May
21
I've been tagged! Although I usually find the idea quite childish and silly, I do somewhat like the idea for this, primarily because its purpose is to build awareness and rankings to charities of a good cause. How bad can that be?! I think the hardest time I had with this was deciding which charities to choose. Please read on, and see if you've been tagged (which, considering the amount of readers I have, you most likely have been).
I've been tagged by
Search-This, a website relating primarily to web design and development with tidbits of other things on the side. Since Golgotha did such a wonderful job at explaining it, I'm simply going to copy and paste his wording, I hope he doesn't mind...it's for a good cause!
Continue reading "Meme Tag - Links for Charity"
Posted by Brendon Kozlowski