Re: [Radiant] MissingEndTagError

2007-05-23 Thread Sean Santry
>> > > shouldn't this be - For posterity's sake: Nope. For empty elements (like r:content) the slash goes before the ">". - Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site:

Re: [Radiant] MissingEndTagError

2007-05-22 Thread Sean Santry
> I just pushed a site to production using radiant edge and now that > I'm in production, I'm getting lots of Radius::MissingEndTagError > messages in the log. I'd start looking in your layouts for an r:content tag that's missing the forward slash at the end. Ie, look for and replace it wit

[Radiant] New Extensions for BlogTags, FlickrTags and EnkoderTags

2007-04-19 Thread Sean Santry
I've updated my Radiant plugins for Radiant 0.6's new extension mechanism. I'll package up proper releases soon, but in the meantime you can get them from my Subversion repository. If you've checked out the Radiant mental branch, `svn:externals` is the way to go: cd /path/to/radiant

Re: [Radiant] Atom Feeds

2007-03-07 Thread Sean Santry
Sean Santry technique (http://seansantry.com/development/articles/2006/12/15creating-an- atom-feed-in-radiant/) is fine, but not quite right. #1 - It uses the tag for the updated field, but this tag only displays the published_at date. Agreed, this is a limitation. I just never got around

Re: [Radiant] Atom Feeds

2007-03-05 Thread Sean Santry
> Thanks Sean. That's about what I worked out on my own. Is that approach working OK for you? Or did you run into some problem that prompted the search for other solutions? - Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search:

Re: [Radiant] Atom Feeds

2007-03-05 Thread Sean Santry
> Has anyone used Radiant to produce Atom feeds? If so what code did > you use? Long answer: http://seansantry.com/development/articles/2006/12/15/creating-an- atom-feed-in-radiant/ Short answer: http://www.w3.org/2005/Atom"; xml:lang="en-us">

[Radiant] Creating an Atom feed in Radiant

2006-12-14 Thread Sean Santry
my Atom Feed page. If it's not obvious what you need to replace, read the above article :-) - Sean http://www.w3.org/2005/Atom"; xml:lang="en-us"> Sean Santry http://seansantry.com" /> http://seansantry.com/ http://radiantcms.org/"; versi

Re: [Radiant] Adding "extended" content to existing page?

2006-11-13 Thread Sean Santry
> I didn't notice until afterwards that while *new* child pages I create > under the main Articles page have both "Body" and "Extended" parts, > the > existing pages (which I edited) did not. > > I'm confused as to who decides that gets put there, and how, and > whether > it is changeable afte

Re: [Radiant] radius tags ideas

2006-11-07 Thread Sean Santry
> Sean Santry coded that, I believe. Look back in the archives for > last week. Well, packaged and tweaked is more like it :-). Here it is: http://seansantry.com/projects/blogtags/ Let me know how it works out for you, Jose.

Re: [Radiant] New Blogging, Flickr and Spam-Prevention Plugins for Radiant

2006-11-03 Thread Sean Santry
> Nice stuff! I'd love to read your code, but I'm getting a 403 > error on the SVN. Oops. Should be all set now. My browser had cached my credentials, so I wasn't seeing this.Thanks! - Sean ___ Radiant mailing list Post: Radiant@lists.radiantcms

[Radiant] New Blogging, Flickr and Spam-Prevention Plugins for Radiant

2006-11-02 Thread Sean Santry
With help in the past from some of you guys on this list, I've cobbled together a few plugins for my site and thought others might find them useful. * BlogTags provides `next` and `previous` tags for linking to the next and previous articles in your blog a

[Radiant] Implementing a tag for outputting radiant tags?

2006-11-01 Thread Sean Santry
So I've put together a couple of plugins for Radiant, which plugins provide some global tags. Now I'd like to write about these tags on my Radiant-powered web site. That is, I'd like to be able to write something like: _without_ the tag being executed and replaced by its output.

Re: [Radiant] navigation tag help

2006-10-26 Thread Sean Santry
> Way too verbose, I know. If someone has a better idea for a set of > tags > for this let me know. Don't know if it's any better, but I use if_url and unless_url for the home page link: Home Home - Sean __

Re: [Radiant] Next and Previous Articles

2006-09-12 Thread Sean Santry
> There was no radiant/app directory so I've created it and its > behaviors child. I now get these errors: Sorry, Dave, I should have been more clear. In your Radiant installation (wherever that is), find the app directory, in which there should be a behaviors directory. For example, if you in

Re: [Radiant] Next and Previous Articles

2006-09-11 Thread Sean Santry
> If I want to use these behaviours, how do I go about that? :-) Oh, and if you were also wondering how you would actually use the tags once you've got the behavior installed, here's an example: - Sean ___ Radiant mailing list Post: Radiant@lis

Re: [Radiant] Next and Previous Articles

2006-09-11 Thread Sean Santry
> If I want to use these behaviours, how do I go about that? :-) Create a file named "00_next_previous_behavior.rb", paste in the code, and save it to your radiant/app/behaviors directory. Then restart the app. HTH, - Sean ___ Radiant mailing list

[Radiant] Lose global tags when a page uses a Behavior?

2006-09-06 Thread Sean Santry
I'm seeing some interesting behavior (so to speak) with global tags (please correct me if that's the wrong term). If I have the following in app/behaviors/hello_behavior.rb: class Behavior::Base define_tags do tag "hello" do |tag| "Hello World!" end end end I would expe

Re: [Radiant] Next and Previous Articles

2006-09-06 Thread Sean Santry
Keith Bingman wrote: > Not as elegant as John's, but for some reason current.siblings > returns an empty array. FWIW, the problem wasn't that current.siblings was returning null. Rather, the problem was that current.siblings returns a list that doesn't include the current page [1], so sibli

[Radiant] Question on implementing and Radiant idioms

2006-09-06 Thread Sean Santry
I'd like to implement a time_ago_in_words tag so that I could write Posted by ago and get Posted by Sean 5 days ago I figured since Rails already has a time_ago_in_words helper, I'd just reuse it. But is the following a reasonable implementation? Does it conform at all wit

Re: [Radiant] Markdown + Smarty Pants

2006-09-05 Thread Sean Santry
> Awesome. Bodhi, would you have a chance to look this over and apply > it? > > I looked at it briefly and it looked well implemented and tested. > Delicious! :-) Now that the standalone SmartyPants filter is in r114 I've patched the Markdown filter so it will educate quotes as well. The pat

Re: [Radiant] Markdown + Smarty Pants

2006-09-01 Thread Sean Santry
> Since Textile curls quotes automatically, my first thought is to just > add the SmartyPants functionality to the existing Markdown filter. http://dev.radiantcms.org:9007/radiant/ticket/363 - Sean ___ Radiant mailing list Radiant@lists.radiantcms.org

Re: [Radiant] Markdown + Smarty Pants

2006-09-01 Thread Sean Santry
>> Having a standalone SmartyPants filter would be great, especially for >> those who want to write HTML yet still educate their quotes. I'll >> submit a patch with tests if you like. > > That sounds good. http://dev.radiantcms.org:9007/radiant/ticket/362 - Sean _

[Radiant] Redirecting in Radiant

2006-09-01 Thread Sean Santry
Having moved one of my sites to Radiant, I needed to implement permanent (301) redirects on some old URLs. Since I'm running under Mongrel behind Apache's mod_proxy (on TextDrive), I needed to do something at the Radiant level. (This was before mongrel could do redirects.) I decided to pat

Re: [Radiant] Markdown + Smarty Pants

2006-08-31 Thread Sean Santry
> Since Textile curls quotes automatically, my first thought is to just > add the SmartyPants functionality to the existing Markdown filter. Is > there a good reason not to do this? Should we ship a separate > SmartyPants filter as well? Personally I always educate quotes. I submitted the patch as