16 Jan, 2003
Posted by: Jennifer In: Scripts
I just love that show hide javascript. Kymberlie asked if it could be reworked so that you could use it with ANYTHING (not just entries, archives, and categories, etc.)
So this script (should) work with anything. It's not blog-program dependent… it's completely stand-alone. There were some funky things going on with it, but I think I got some workarounds that seem to do the job. I haven't tested it thorougly and there may be a better way to do some of this (if you have some thoughts – please share in the comments). Again, I mixed some PHP in there (really just to make things easier, so there wasn't so much hardcoding) – but if you're not running PHP, and don't mind hardcoding a few things, I can write up a version for you).
(Code is in the "more" section)
Read the rest of this entry »
Some people were reporting weird errors only recently with the add a link script. If you were using the weblogs checking code on your page – you'll need to fix this. (In a recent update to PHP – a minor thing changed and requires a change in this script)
Please go here: http://www.scriptygoddess.com/archives/001093.php#13063 to see the fix.
I'll update the download, but just in case you already have this downloaded and installed, it's a simple enough fix that you should be able to do it and can save yourself the hassle of another download…
UPDATE: It looks like my bug fix may not be needed after all… If you're getting errors, give it a try. If you're not – don't worry about it.
14 Jan, 2003
Posted by: promoguy In: Bookmarks
Comments Off on The PHP Resource
14 Jan, 2003
Posted by: promoguy In: Bookmarks
While visiting Textisim I read of the release of a Textile, a web page that will convert plain text to HTML.
The author, Dean Allen, says:
"…one should now be able to paste in text copied from a word processor on any platform, and see proper corresponding HTML entities in the result."
It is similar in nature to our very own "Decoder" script except that it is form-based web page. This might come in handy when when you are not at your usual PC where you had the Decoder Bookmarklet installed.
Textile can be found here.
14 Jan, 2003
Posted by: promoguy In: Scripts
I ran across "class.gzip_encode.php" whuch is a php class to gzip encode served content to reduce size. It loads your pages faster, reduces server load and makes for a better browsing experience for dial-up users.
This is probably something I will never use, but when I find things like this I like to post them here. I am sure someone will find a use for it.
Get the class file from Leknor.com.
Suggested implementation by Textisim.
13 Jan, 2003
Posted by: Jennifer In: Scripts
Michael asked me to do a version of my script here for categories (It's PHP). It was actually easier to do. (The code for this is shown in the "show more" block)…
but I'm working on doing this as a "show/hide" expand option. (It shows a list of categories, you click on the category and it shows the entries for that category). If this is already done somewhere, save my sanity and post the link… otherwise I'll update this post when I have time to figure it out.
UPDATE: I've now also added the code that uses the "hide/show more" javascript below This also uses a little bit of PHP, but if you need it without, I think there's an easy way to make it 100% javascript.
Read the rest of this entry »
13 Jan, 2003
Posted by: Jennifer In: Bookmarks
10 Jan, 2003
Posted by: Jennifer In: Bookmarks
MT ref search (implemented on this blog actually!) has been updated – and it is cooler than ever. You can see the details and get the latest version here. If you'd like to see it in action, click here, then click on the link back here to scriptygoddess…) (I especially like the "hightlight" option) Very cool!!
I've needed these so many times I've lost count. So I don't need to dig to find them again, here are a few html special characters and how to make them:
© – ©
® – ®
™ – ™
» – »
« – «
… – …
· – ·
• – • or •
07 Jan, 2003
Posted by: kristine In: Scripts
The Movable Type calendar currently features an option to have the current day highlighted by use of the MTCalendarIfToday tag. But this tag is not dynamic, it only refreshes the information on the rebuild of your calendar template. If you'd like this to work automatically with php to autodetect the date (within the same month), I put together a tutorial with code to copy and paste. Movable Type: Calendar using PHP to autodetect date. Hope this helps someone, its been an oft-requested option on the MTForums!