Monday, January 1st, 2007

Purple Include Update: Easily include snippets

Category: JavaScript, Library

Brad Neuberg has announced a new Purple Include release, which gives you an even easily way to slurp in partial data from an external URL:

It means that you can include and display fragments of one HTML page in another without copying and pasting any content.

The new feature is the #quote(some ... other) part of the href attribute that is added to a div which “will cause Purple Include to fetch the given page and inline it into that DIV (you can add the href attribute to DIVs, SPANs, BLOCKQUOTEs, Ps, and more). Also notice the #quote() at the end. This is the new addressing scheme in this release; you can now quote and grab a range of any remote page by just having a few words from the page, followed by three dots, followed by the end of the text to grab.”

  1. <div href=" the background Dojo Offline is checking...when they are on- or off-line so you don't have to)"></div>

Download the release here if you want to run the server side piece instead of going through the official site.

Posted by Dion Almaer at 7:23 am
Comment here

3 rating from 5 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.