CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 09:35:45 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090724092046
location: https://web.archive.org/web/20090724092046/https://github.com/jlong/radius/tree
server-timing: captures_list;dur=0.966216, exclusion.robots;dur=0.039669, exclusion.robots.policy;dur=0.023760, esindex;dur=0.014005, cdx.remote;dur=46.714470, LoadShardBlock;dur=307.986146, PetaboxLoader3.datanode;dur=120.669905, PetaboxLoader3.resolve;dur=135.956852
x-app-server: wwwb-app28
x-ts: 302
x-tr: 588
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app28; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 06 Aug 2025 09:35:46 GMT
content-type: text/html; charset=utf-8
content-length: 108
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 24 Jul 2009 09:20:44 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090724092046/https://github.com/jlong/radius/tree/master
x-archive-orig-x-runtime: 63ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 108
cache-control: max-age=1800
memento-datetime: Fri, 24 Jul 2009 09:20:46 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 04 Jan 2009 02:48:47 GMT", ; rel="prev memento"; datetime="Sun, 04 Jan 2009 02:48:47 GMT", ; rel="memento"; datetime="Fri, 24 Jul 2009 09:20:46 GMT", ; rel="last memento"; datetime="Fri, 24 Jul 2009 09:20:46 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090724084301_crawl100.gpg-c/52_10_20090724091749_crawl101.arc.gz
server-timing: captures_list;dur=0.928685, exclusion.robots;dur=0.040155, exclusion.robots.policy;dur=0.023864, esindex;dur=0.014687, cdx.remote;dur=87.814108, LoadShardBlock;dur=421.118427, PetaboxLoader3.datanode;dur=189.728109, PetaboxLoader3.resolve;dur=407.895789, load_resource;dur=203.200176
x-app-server: wwwb-app28
x-ts: 301
x-tr: 759
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 09:35:47 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Fri, 24 Jul 2009 09:20:46 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 1055ms
x-archive-orig-etag: "173ea09f763c6078fbb1d9eee9d28bd0"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 24816
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 24 Jul 2009 09:20:46 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 04 Jan 2009 02:48:47 GMT", ; rel="prev memento"; datetime="Wed, 22 Jul 2009 11:27:45 GMT", ; rel="memento"; datetime="Fri, 24 Jul 2009 09:20:46 GMT", ; rel="next memento"; datetime="Sun, 28 Aug 2016 01:07:21 GMT", ; rel="last memento"; datetime="Mon, 07 Nov 2022 08:04:04 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_10_20090724084301_crawl100.gpg-c/52_10_20090724091749_crawl101.arc.gz
server-timing: captures_list;dur=0.826690, exclusion.robots;dur=0.037242, exclusion.robots.policy;dur=0.022365, esindex;dur=0.015093, cdx.remote;dur=24.999166, LoadShardBlock;dur=1077.742722, PetaboxLoader3.datanode;dur=864.582501, PetaboxLoader3.resolve;dur=328.417167, load_resource;dur=190.775782
x-app-server: wwwb-app28
x-ts: 200
x-tr: 1449
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
jlong's radius at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | A small, but powerful tag-based template language for Ruby modeled after the ones used in MovableType and TextPattern. It has tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...). edit |
Homepage: | https://rubyforge.org/projects/radius/ edit |
Public Clone URL: |
git://github.com/jlong/radius.git
Give this clone URL to anyone.
git clone git://github.com/jlong/radius.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:jlong/radius.git
|
radius /
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Wed Nov 12 16:13:00 -0800 2008 | restructured for git [jlong] |
![]() |
QUICKSTART | Loading commit data... ![]() |
|
![]() |
README | ||
![]() |
ROADMAP | ||
![]() |
Rakefile | ||
![]() |
lib/ | ||
![]() |
test/ |
= Radius -- Powerful Tag-Based Templates Radius is a powerful tag-based template language for Ruby inspired by the template languages used in MovableType[https://www.movabletype.org] and TextPattern[https://www.textpattern.com]. It uses tags similar to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...). == Example With Radius, it is extremely easy to create custom tags and parse them. Here's a small example: require 'radius' # Define tags on a context that will be available to a template: context = Radius::Context.new do |c| c.define_tag 'hello' do 'Hello world' end c.define_tag 'repeat' do |tag| number = (tag.attr['times'] || '1').to_i result = '' number.times { result << tag.expand } result end end # Create a parser to parse tags that begin with 'r:' parser = Radius::Parser.new(context, :tag_prefix => 'r') # Parse tags and output the result puts parser.parse(%{A small example:\n<r:repeat times="3">* <r:hello />!\n</r:repeat>}) Output: A small example: * Hello world! * Hello world! * Hello world! = Quick Start Read the QUICKSTART[link:files/QUICKSTART.html] to get up and running fast with Radius. == Download The latest version of Radius can be found on RubyForge: https://rubyforge.org/projects/radius/ == Installation It is recommended that you install Radius using the RubyGems packaging system: % gem install --remote radius You can also install Radius by copying lib/radius.rb into the Ruby load path. == License Radius is free software and may be redistributed under the terms of the MIT-LICENSE: Copyright (c) 2006, John W. Long Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. == The Future Radius is nearing completion, but is still very much in the development stages. Take a look at the ROADMAP[link:files/ROADMAP.html] to see where we want to go. If you are interested in helping with the development of Radiant, contact me and we'll talk. Enjoy! -- John Long :: https://wiseheartdesign.com
This feature is coming soon. Sit tight!