Re: [Radiant] Pre-loading cache

2010-12-21 Thread Ahn Byungmo
may i ask about your hardware spec?
actually I'm using radiant on solaris and I think it's little slow though i've 
been using many radius tags.
so i thought exactly same as with you getting over my issue by making cache.

thanks in advance


On Dec 21, 2010, at 10:16 AM, john muhl wrote:

> On Mon, Dec 20, 2010 at 7:13 PM, Wes Gamble  wrote:
>> All,
>> 
>> Is there any way to pre-load the Radiant cache so that initial page view
>> times are improved?
> 
> i'd just hook wget to a post-deploy task. surely there is something
> more elegant though.



Re: [Radiant] Pre-loading cache

2010-12-21 Thread Wes Gamble
Are there any hooks to help me isolate time spent in Radius tags or 
other Radiant subsystems?


W

On 12/21/10 9:30 PM, Jim Gay wrote:

On Mon, Dec 20, 2010 at 8:16 PM, john muhl  wrote:

On Mon, Dec 20, 2010 at 7:13 PM, Wes Gamble  wrote:

All,

Is there any way to pre-load the Radiant cache so that initial page view
times are improved?

i'd just hook wget to a post-deploy task. surely there is something
more elegant though.


Slowness might have something to do with your radius code too.
Simplifying that might help.



Re: [Radiant] Pre-loading cache

2010-12-21 Thread Jim Gay
On Mon, Dec 20, 2010 at 8:16 PM, john muhl  wrote:
> On Mon, Dec 20, 2010 at 7:13 PM, Wes Gamble  wrote:
>> All,
>>
>> Is there any way to pre-load the Radiant cache so that initial page view
>> times are improved?
>
> i'd just hook wget to a post-deploy task. surely there is something
> more elegant though.
>

Slowness might have something to do with your radius code too.
Simplifying that might help.

-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


Re: [Radiant] Re: undefined method `match' - when testing extension features with cucumber and webrat

2010-12-21 Thread Enrico Teotti
Hi Stan,
today when I was running my cuke features on a Rails app I had exactly
the same problem you had.

undefined method `match' for # (NoMethodError)

This was a fresh install, the same features were running fine on my
office workstation.

These are the gems of my Rails (2.3.4) app:

http://pastie.org/1396577

And after two hours of hammering my head, and right before deciding to
stop working in IT and open a bar on a lonely beach on a remote
island... I found out that the error was caused by:

rack (1.2.1)

rolling it back to rack 1.0 (and even 1.0.1) solved the problem for me.

It's not a Radiant related problem, but I really hope by posting my
solution I'll save some time to the future generation (I hope nobody)
who might incur in this cryptic problem,

Regards,
Enrico

-- 
Enrico Teotti
IT consultant, accessible web sites and web applications
currently working @ http://www.redant.com.au
Sydney, NSW, Australia
enrico.teo...@gmail.com
mobile (AU) +00610416748450

http://teotti.com


Re: [Radiant] Stripping HTML from ?

2010-12-21 Thread Jim Gay
On Thu, Dec 16, 2010 at 12:57 PM, Oli Studholme
 wrote:
> Hi All,
>
> I noticed that if I use HTML elements in a title, they’re escaped and
> added to the article’s page title ( element). I can’t seem to
> find any mention of an attribute to strip HTML from a Radiant tag, or
> a regex plugin that I could use to do this. I’m sure I’m missing
> something obvious, so does anyone have any
> suggestions?
>
> Thanks in advance!
>
> peace - oli
>

The title isn't meant to have HTML in it.
If you really need that, just make an extension and override the
 tag to do what you need.


-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338


[Radiant] Re: Pagination within Aggregate Tag

2010-12-21 Thread Keith Hanson
Thanks Will! Bug filed here: https://github.com/radiant/radiant/issues/issue/176

Looking forward to the fix! If you'd like to give me a quick pointer
as to where to dig and help, I'd be happy to make the fix, since a
client of mine will be depending on it.

If you have any suggestions as to what else to do in the meantime,
that would be a lot of help as well! Thanks!

On Dec 21, 2:11 am, William Ross  wrote:
> On 21 Dec 2010, at 03:21, Keith Hanson wrote:
>
> > Hi All!
>
> > I think my problem is fairly simple, but I'm finding that the
> > paginated="true" attribute does absolutely nothing in this context:
>
> >http://pastie.org/1393524
>
> You're right. The nesting of the tags there means that you're actually 
> calling aggregate:each:children:each and I missed that one when fitting the 
> pagination. Would you mind filing an issue? I think it just needs drying out 
> but I'd better check why the author didn't just call children:each in the 
> first place.
>
> thanks,
>
> will


Re: [Radiant] Pagination within Aggregate Tag

2010-12-21 Thread William Ross
On 21 Dec 2010, at 03:21, Keith Hanson wrote:

> Hi All!
> 
> I think my problem is fairly simple, but I'm finding that the
> paginated="true" attribute does absolutely nothing in this context:
> 
> http://pastie.org/1393524


You're right. The nesting of the tags there means that you're actually calling 
aggregate:each:children:each and I missed that one when fitting the pagination. 
Would you mind filing an issue? I think it just needs drying out but I'd better 
check why the author didn't just call children:each in the first place.

thanks,

will