# \[ANN\] Data Pages extension

**URL:** <https://www.ruby-forum.com/t/ann-data-pages-extension/125069>\
**Category:** Radiant CMS\
**Created:** [January 5, 2008, 12:45am UTC](https://www.ruby-forum.com/t/ann-data-pages-extension/125069 "2008-01-05T00:45:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [January 5, 2008, 12:45am UTC](https://www.ruby-forum.com/t/ann-data-pages-extension/125069/1 "2008-01-05T00:45:31Z")

</div>

I’d like to announce the initial release of my data pages extension.

[http://s3.amazonaws.com/radiant\_data\_pages/data\_pages.tgz](http://s3.amazonaws.com/radiant_data_pages/data_pages.tgz)

(URL may change – I’m just now trying out the whole S3 thing…)

This extension allows you to call external data and template it using  
some handy Radius tags. External data is in JSON format (others may  
be supported in the future). See the README and specs for  
documentation.

The main use-case I see (and what I’m actually using it for) is making  
pretty reports from some kind of automated application or database  
output (provided you turn it into JSON first). Since it gets the JSON  
over HTTP it can pull from flat files or even a live application.

Incidentally, I’m looking for some kind of hosting for this. I use  
Mercurial, so it may be a bit of a pain adding into an SVN repository.

Anyway, here’s the example from the README:

localhost/some\_data.js:  
{  
“name”: “Andrew”,  
“favorite\_color”: “red… no – blue!”,  
“monkeys”: [  
“rhesus”,  
“howler”  
]  
}

localhost:3000/template (body part):  
\<r:data src=“localhost/some\_data.js”\>

My name is

My favorite color is

- 

Output:

My name is Andrew

My favorite color is red... no -- blue!

- rhesus
- howler

---

<div class="post-metadata">

**Author:** ![Andrew\_OSBrien](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d6d6ee/32.png) [@Andrew\_OSBrien](https://www.ruby-forum.com/u/Andrew_OSBrien)\
**Post date:** [January 5, 2008, 6:16am UTC](https://www.ruby-forum.com/t/ann-data-pages-extension/125069/2 "2008-01-05T06:16:32Z")

</div>

Started up a Google Code project – here’s the new URL:  
[http://code.google.com/p/data-pages-extension/](http://code.google.com/p/data-pages-extension/)

(Also added to the 3rd Party Extensions page.)
