April 16, 2007

Update - April 16th

Okay, the update that was held over from yesterday is now in place.  Here's a brief description of what's new; I'll be running tests to make sure that everything made it okay, then post some documentation.

New Features

Caching Module: The system now caches pages in memory as they are created.  If additional requests for a given page arrive within the timeout period (currently 120 seconds), the page will be served directly from the cache rather than generated by the template engine. 

The purpose of this is to improve the handling of situations where a high-traffic site - Slashdot, Fark, Instapundit, Drudge Report - links to a site or page on mee.nu.  Fetching a page from the cache can be 20x to 60x faster than re-creating it from the templates.

I'll post more details on the caching system in the Docs section shortly.

Archives: Simply by appending /archive/year/month to any folder-level request - your main index, for example, or a category page - you can get an archive for that folder.

So mee.nu/archive/2007 will show all the news for 2007, and mee.nu/archive/2007/4 will show the news for April 2007.

Templates: BBCode and smilies are now supported in your templates.  This can be set as an option on each template.

Video: New BBCode tags for Google Video, LiveLeak, Jumpcut, Vimeo, Revver and Heep.

Wiki and Search Links: New BBCode tags for Wiktionary, TVTropes, ThePPN, Google, Technorati and Sourceforge.

Bug Fixes and Minor Changes

  • The search function now works. It was actually searching properly, but not displaying the results due to a problem in the standard templates. (7), (165)
  • Spurious timeouts when uploading large files should no longer occur.  Please report back to me if this still happens to you. (145)
  • No error is generated if you don't specify a file for upload.  You will simply be redirected back to the upload page. (133)
  • If you clicked in the More editor, but didn't enter any text, the editor would generate an invisible line break, which would cause the more... link to appear on your page.  This no longer happens for new entries, but you may need to re-save your old entries. (140)
  • The page generation data shown at the bottom of many pages has been simplified. (158)
  • The pager (the widget that allows you to move from one page to the next) and the page generation data now follow the pager and pageinfo CSS classes, and no longer have any embedded styling or positioning. (146)
  • Converting images to GIF format no longer produces a low-quality dithered image.  A new image filter, Dither, has been provided if you want to use this effect. (120)
  • Several fixes have been made to improve the set of tags for posts, comments, and topics, and bring them into line with the documentation. (164)
  • Fixed issues with relative paths for images added using the editor. (163)
  • Mixed case supported in filenames. (161)
  • Image and video tags only allowed in comments by registered users. (136)
  • Syndication feeds now work correctly for categories and other subfolders. (166)
  • Corrected issues with conditional tags: handling of undefined variables; handling of numeric zero; else case with multiple conditions in template. (131), (177), (179)


Examples Of The New BBCode Tags


[technorati=wii] wii
[google=wii] wii
[googlegroups=wii] wii
[wiktionary=rhythm] rhythm
[tvtropes="genki girl"] genki girl
[theppn="hayashibara megumi"] hayashibara megumi
[sourceforge=psyco] psyco

[youtube=http://www.youtube.com/watch?v=eWEjvCRPrCo]


[youtube=eWEjvCRPrCo]


[gvideo=http://video.google.com/videoplay?docid=8922875251875301807]


[gvideo=8922875251875301807]


[liveleak=http://www.liveleak.com/view?i=0d9_1175649699]


[liveleak=0d9_1175649699]


[revver=http://one.revver.com/watch/212112/flv]


[revver=212112]


[vimeo=http://www.vimeo.com/clip:137991]


[vimeo=137991]


[jumpcut=http://jumpcut.com/view/?id=1C478BCAE71811DB856B000423CF382E]


[jumpcut=1C478BCAE71811DB856B000423CF382E]


(Heep works as you'd expect - via the [heep] tag - but I won't include an example because their player auto-starts.)

Posted by: Pixy Misa at 02:37 AM | Comments (4) | Add Comment
Post contains 549 words, total size 7 kb.

1 I'm trying to embed a .swf from the "Maps of War" website.

When I put this code into the post it doesn't show the .swf file, it just shows the code.
<object width="600" height="400"><param name="movie" value="http://www.mapsofwar.com/images/American-Wars.swf"></param><embed src="http://www.mapsofwar.com/images/American-Wars.swf" type="application/x-shockwave-flash" width="600" height="400"></embed></object>

I've even tried removing the <object></object> code and it still doesn't embed.

 Any suggestions?


Posted by: mkelly at April 27, 2007 09:20 AM (TnRh6)

2 If you need to edit the HTML of a post directly, click on the little <> icon in the editor.  That will pop up an HTML edit window.

Otherwise - as you found out - it will just display the code.

Posted by: Pixy Misa at April 27, 2007 10:07 AM (PiXy!)

3

Ahem. I confess I do not know how to get an RSS button to appear at rittenhouse.mee.nu.

I set up an account of sorts at feedburner.com. But I'm mystified as to how to get a button on my site.

Any tips?

Posted by: Michael Rittenhouse at July 29, 2007 01:48 AM (pUan4)

4 Ah.  Good point.  I'll make sure to include buttons in the new templates.

You don't actually need Feedburner; the system generates RSS and Atom feeds automatically for every folder.  RSS is at http://myblog.mee.nu/feed/rss and Atom is at http://myblog.mee.nu/feed/atom.  For each category, you have a feed at http://myblog.mee.nu/category/feed/rss and so on.

You can just upload a suitable button and put it in your sidebar template as a link to either Feedburner or the built-in feeds.

Posted by: Pixy Misa at July 29, 2007 04:25 AM (PiXy!)

Hide Comments | Add Comment

Comments are disabled. Post is locked.
20kb generated in CPU 0.2482, elapsed 2.6739 seconds.
32 queries taking 2.6658 seconds, 56 records returned.
Powered by Minx 1.1.6c-pink.