scriptygoddess

16 Jan, 2003

Show/hide ANYTHING

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 »

15 Jan, 2003

Addalink bug fix!

Posted by: Jennifer In: Announcements

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

The PHP Resource

Posted by: promoguy In: Bookmarks

If you are in need of a few good PHP scripts (and who isn't), you might want to add PHP Resource to your bookmarks.

The class section alone has over 120 scripts.

Although the site is in German, many of the posted scripts are in English. Even so, there is a Google Translated version of PHP Resource if you so desire.

Comments Off on The PHP Resource

14 Jan, 2003

Textile: Text to HTML Converter

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

php class to gzip encode served content

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

Expanding Categories

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

Multiple photos in one entry

Posted by: Jennifer In: Bookmarks

Rannie pointed me to this link that shows a way to have more than one photo in one entry using php. I haven't tried it myself – but it looks pretty cool. (You can see how Rannie used that code here (click on the little boxes below that photo).

Also, if you're into photoblogs, you probably noticed that it wasn't a category in this year's bloggies – so "if you're not invited to the party – best thing to do is have your own!" LOL! Here's a contest just for photoblogs! (run by Rannie)

10 Jan, 2003

MT ref search updated

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!!

08 Jan, 2003

Common html characters

Posted by: Jennifer In: Lessons learned

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

Autodetect calendar date

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!

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements