[Radiant] problem running radiant on www.hostingrails.com

2006-09-29 Thread thomas lissajoux
just to let others now that I successfully installed radiant on 
hostingrails as described in a previous thread :
http://lists.radiantcms.org/pipermail/radiant/2006-August/001492.html

However it appeared that a standard install with a small db and 
admin/single user access used up way too much memory today and
crashed the server. - cleared account...

Any idea where it might come from ? Similar problems on other hosts ?

Tom =;]
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
Yeah it might be a weird Ajax thing. You can inspect xmlhttprequests easily, though: just install Firebug for Firefox, open it up (F12) when you enter the admin and go to options (last option, check it).
When you click on the plus-es now you can see the requests in console. Inspect the server response by clicking on them.Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident. It might be a server problem
On 9/29/06, John Tsombakos [EMAIL PROTECTED] wrote:
I was able to set up a virtual host, using Dyndns's wildcard capability.So my site is mostly working (thought I do have it still in development mode).One thing I'm still seeing, in the Admin pages, when I click the Plus
next to the Articles page (in the default setup), the spinner wheelshows for a long time. Then the children appear, but below the lastchild is:Set-Cookie: _session_id=593f6ac8b238a85961a87259f6e59e87; path=/
Connection: closeTransfer-Encoding: chunkedContent-Type: text/html;charset=utf-80Not sure where to look for this. Looks like some weird RJS thing?Anyone have an idea?Thanks!___
Radiant mailing listPost: Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread Mislav Marohnić
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident.Sorry. Here I meant to say you CAN'T insert response headers into the page by an accident
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Kevin Ansfield
I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.ukOn 9/29/06, 
Mislav Marohnić [EMAIL PROTECTED] wrote:
I've learned this accidentally from the code just a few days ago. It's nice someone took time to wikify this, thanks!On 9/29/06, Giovanni Intini
 
[EMAIL PROTECTED] wrote:I created a first (small) draft of this howto on the wiki, you can find it here: 
http://dev.radiantcms.org/radiant/wiki/HowToDevAndProduction

___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  

http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  
http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Kevin Ansfield
Well, I currently have it set up as two seperate virtual hosts. One for www.mydomain and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to dev.mydomainAny ideas? Maybe it's the server setup, I'll have a go at getting an env dump from both domains as soon as I get a moment.
Thanks,Kevhttp://www.digitalblueprint.co.ukOn 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up?
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:

I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under 
dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.uk

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
dev.host should be set to dev only. Other than that it should work.2006/9/29, Kevin Ansfield [EMAIL PROTECTED]
:Well, I currently have it set up as two seperate virtual hosts. One for www.mydomain
 and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to dev.mydomainAny ideas? Maybe it's the server setup, I'll have a go at getting an env dump from both domains as soon as I get a moment.
Thanks,Kevhttp://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up?
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:


I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under 
dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.uk


___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  
http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Kevin Ansfield
OK, I've tried it with both dev and dev.mydomain with no go. Env dumps for both domains can be found here if it's any help:http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testI'll have a look at the code later and see if i can see why it's not recognising the domains.Thanks,Kev
http://www.digitalblueprint.co.ukOn 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:dev.host should be set to dev only. Other than that it should work.
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]

:Well, I currently have it set up as two seperate virtual hosts. One for 
www.mydomain
 and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to dev.mydomainAny ideas? Maybe it's the server setup, I'll have a go at getting an env dump from both domains as soon as I get a moment.
Thanks,Kevhttp://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up?
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:



I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under 
dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.uk


___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  

http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  
http://lists.radiantcms.org/mailman/listinfo/radiant-- Kevin AnsfieldTechnical DirectorBN23 Search Ltd.
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Radiant Digest, Vol 6, Issue 67

2006-09-29 Thread 叶凯
?2006/9/29, [EMAIL PROTECTED] [EMAIL PROTECTED]
:Send Radiant mailing list submissions to
radiant@lists.radiantcms.orgTo subscribe or unsubscribe via the World Wide Web, visithttp://lists.radiantcms.org/mailman/listinfo/radiant
or, via email, send a message with subject or body 'help' to[EMAIL PROTECTED]You can reach the person managing the list at
[EMAIL PROTECTED]When replying, please edit your Subject line so it is more specificthan Re: Contents of Radiant digest...
Today's Topics: 1. Re: New Howto; How to use the Dev mode. (Kevin Ansfield) 2. Re: New Howto; How to use the Dev mode. (Giovanni Intini)--
Message: 1Date: Fri, 29 Sep 2006 11:48:06 +0100From: Kevin Ansfield [EMAIL PROTECTED]Subject: Re: [Radiant] New Howto; How to use the Dev mode.
To: radiant@lists.radiantcms.orgMessage-ID:[EMAIL PROTECTED]
Content-Type: text/plain; charset=utf-8OK, I've tried it with both dev and dev.mydomain with no go. Env dumpsfor both domains can be found here if it's any help:
http://www.digitalblueprint.co.uk/testhttp://dev.digitalblueprint.co.uk/testI'll have a look at the code later and see if i can see why it's not
recognising the domains.Thanks,Kevhttp://www.digitalblueprint.co.ukOn 9/29/06, Giovanni Intini [EMAIL PROTECTED]
 wrote: dev.host should be set to dev only. Other than that it should work. 2006/9/29, Kevin Ansfield [EMAIL PROTECTED]
 :   Well, I currently have it set up as two seperate virtual hosts. One for  www.mydomain and the other for dev.mydomain, both DocumentRoot's are  referencing the same symlink to radiant/public. The server is running Apache
  1.3 with fcgi.   The Radiant::Config[dev.host] is also definately set to dev.mydomain   Any ideas? Maybe it's the server setup, I'll have a go at getting an env
  dump from both domains as soon as I get a moment.   Thanks,  Kev   http://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini  [EMAIL PROTECTED] wrote: How's the alias set up? And how's your radiant installation set up?
 2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:   I tried the dev mode out on my Radiant blog the other day but I just
can't get Radiant to recognise that it's running underdev.digitalblueprint.co.uk. I've tried both server aliases andseperate virtual hosts for the different domains but still no go. Has anyone
else had a similar problem that they've managed to fix?   Thanks,Kevin Ansfield   Technical Director
BN23 Search Ltd.   blog: http://www.digitalblueprint.co.uk   ___
  Radiant mailing list  Post: Radiant@lists.radiantcms.org  Search: http://radiantcms.org/mailing-list/search/
  Site: http://lists.radiantcms.org/mailman/listinfo/radiant   ___
 Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/
 Site: http://lists.radiantcms.org/mailman/listinfo/radiant--Kevin AnsfieldTechnical DirectorBN23 Search Ltd.
-- next part --An HTML attachment was scrubbed...URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060929/6c9d9c80/attachment-0001.htm
--Message: 2Date: Fri, 29 Sep 2006 13:02:38 +0200From: Giovanni Intini [EMAIL PROTECTED]Subject: Re: [Radiant] New Howto; How to use the Dev mode.
To: radiant@lists.radiantcms.orgMessage-ID:[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1It's a simple regex on the hostname, are you sure you're not redirecting?2006/9/29, Kevin Ansfield 
[EMAIL PROTECTED]: OK, I've tried it with both dev and dev.mydomain with no go. Env dumps for both domains can be found here if it's any help: 
http://www.digitalblueprint.co.uk/test http://dev.digitalblueprint.co.uk/test I'll have a look at the code later and see if i can see why it's not
 recognising the domains. Thanks, Kev http://www.digitalblueprint.co.uk On 9/29/06, Giovanni Intini  
[EMAIL PROTECTED] wrote:   dev.host should be set to dev only. Other than that it should work.   2006/9/29, Kevin Ansfield 
[EMAIL PROTECTED] : Well, I currently have it set up as two seperate virtual hosts. One   for www.mydomain and the other for 
dev.mydomain, both DocumentRoot's   are referencing the same symlink to radiant/public. The server is running   Apache 1.3 with fcgi. The Radiant::Config[
dev.host] is also definately set todev.mydomain Any ideas? Maybe it's the server setup, I'll have a go at getting an   env dump from both domains as soon as I get a moment.
 Thanks,   Kev http://www.digitalblueprint.co.uk
   On 9/29/06, Giovanni Intini  [EMAIL PROTECTED] wrote:   How's the alias set up? And how's your radiant installation set up?
   2006/9/29, Kevin Ansfield [EMAIL PROTECTED]: I tried the dev mode out on my Radiant blog the other day but I
 just can't get Radiant to recognise that it's running under

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Kevin Ansfield
No, it's definately not redirecting. Looking at the code, the first check it performs is whether or not @request.host == Radiant::Config['dev.host'] so the config var should definately be set to the full domain, not just dev as the second check it performs checks for that as the default.
I've updated the env_behavior to show the output from the dev? checks, and as you can see it's picking performing them fine (although the logic for the default check in radiant may be wrong? - the regex returns 0 if it detects the default 'dev' subdomain, otherwise nil)
http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testSo, even though the dev? check returns true, I still cannot see the draft articles on my dev domain. I'll have to do some further investigation I think.
Kevhttp://www.digitalblueprint.co.ukOn 9/29/06, Giovanni Intini 

[EMAIL PROTECTED] wrote:It's a simple regex on the hostname, are you sure you're not redirecting?
2006/9/29, Kevin Ansfield 
[EMAIL PROTECTED]:
OK, I've tried it with both dev and dev.mydomain with no go. Env dumps for both domains can be found here if it's any help:
http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testI'll have a look at the code later and see if i can see why it's not recognising the domains.
Thanks,Kev
http://www.digitalblueprint.co.ukOn 9/29/06, 


Giovanni Intini 
[EMAIL PROTECTED] wrote:dev.host should be set to dev only. Other than that it should work.
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]

:Well, I currently have it set up as two seperate virtual hosts. One for 
www.mydomain
 and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to dev.mydomainAny ideas? Maybe it's the server setup, I'll have a go at getting an env dump from both domains as soon as I get a moment.
Thanks,Kevhttp://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up?
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:






I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under 
dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.uk


___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  




http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  



http://lists.radiantcms.org/mailman/listinfo/radiant-- Kevin AnsfieldTechnical DirectorBN23 Search Ltd.

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  


http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  

http://lists.radiantcms.org/mailman/listinfo/radiant-- Kevin AnsfieldTechnical DirectorBN23 Search Ltd.

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Set-Cookie: appearing on page

2006-09-29 Thread John Tsombakos
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED] wrote:
On 9/29/06, Mislav Marohnić [EMAIL PROTECTED]
 wrote:
Your problem doesn't seem to me like a client-side problem because you can insert response headers into the page by an accident.Sorry. Here I meant to say you CAN'T insert response headers into the page by an accident
It probably is a server problem. When I run via script/server, it runs just fine.Now I have to find _that_ Apache setting Thanks,jt 
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
You don't see them in the main page, have you tried going directly to their url? Because r:children:each still doesn't catch draft pages, even in dev mode.2006/9/29, Kevin Ansfield 
[EMAIL PROTECTED]:No, it's definately not redirecting. Looking at the code, the first check it performs is whether or not @
request.host == Radiant::Config['dev.host'] so the config var should definately be set to the full domain, not just dev as the second check it performs checks for that as the default.
I've updated the env_behavior to show the output from the dev? checks, and as you can see it's picking performing them fine (although the logic for the default check in radiant may be wrong? - the regex returns 0 if it detects the default 'dev' subdomain, otherwise nil)
http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testSo, even though the dev? check returns true, I still cannot see the draft articles on my dev domain. I'll have to do some further investigation I think.
Kevhttp://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini 


[EMAIL PROTECTED] wrote:It's a simple regex on the hostname, are you sure you're not redirecting?
2006/9/29, Kevin Ansfield 
[EMAIL PROTECTED]:
OK, I've tried it with both dev and dev.mydomain with no go. Env dumps for both domains can be found here if it's any help:
http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testI'll have a look at the code later and see if i can see why it's not recognising the domains.
Thanks,Kev
http://www.digitalblueprint.co.ukOn 9/29/06, 



Giovanni Intini 
[EMAIL PROTECTED] wrote:dev.host should be set to dev only. Other than that it should work.
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]

:Well, I currently have it set up as two seperate virtual hosts. One for 
www.mydomain
 and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to dev.mydomainAny ideas? Maybe it's the server setup, I'll have a go at getting an env dump from both domains as soon as I get a moment.
Thanks,Kevhttp://www.digitalblueprint.co.uk
On 9/29/06, Giovanni Intini 
[EMAIL PROTECTED] wrote:How's the alias set up? And how's your radiant installation set up?
2006/9/29, Kevin Ansfield [EMAIL PROTECTED]:







I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under 
dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that they've managed to fix?
Thanks,Kevin AnsfieldTechnical DirectorBN23 Search Ltd.blog: http://www.digitalblueprint.co.uk


___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  





http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org

Search: http://radiantcms.org/mailing-list/search/Site:  




http://lists.radiantcms.org/mailman/listinfo/radiant-- Kevin AnsfieldTechnical DirectorBN23 Search Ltd.

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  



http://lists.radiantcms.org/mailman/listinfo/radiant

___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  


http://lists.radiantcms.org/mailman/listinfo/radiant-- Kevin AnsfieldTechnical DirectorBN23 Search Ltd.


___Radiant mailing listPost:  Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site:  
http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Dev and Prod radiant modes

2006-09-29 Thread John W. Long
Giovanni Intini wrote:
 I'll write a page on the wiki in a few moments. 

Thanks!

 Do you think there's a way
 to have radiant check for authentication if the url is dev?

You could easily create a plugin to do this. It would need to monkey 
patch the site controller, but it's definitely doable.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Caching by Marshal

2006-09-29 Thread John W. Long
This is excellent. Can you update the unit tests to reflect this change? 
Bodhi, would you have time to verify the performance statistics and make 
sure this makes it into the core?

--
John Long
http://wiseheartdesign.com

Keita Yamaguchi wrote:
 Hi,
 
 Radiant uses YAML for caching pages, but I think Marshal is better. I
 recommend Marshal because YAML has a problem of handling multi-byte
 characters and YAML is slower than Marshal. I attached the patch for
 using Marshal, this works fine in my environment.
 
 1. multi-byte characters problem
 
 I experienced a problem that pages including japanese characters were
 broken. This is the same as [Radiant] Cache problems by bodhi.
 (see 
 http://www.mail-archive.com/radiant@lists.radiantcms.org/msg00660.html)
 
 When I try Marshal for caching, pages including japanese characters are 
 fine.
 I think YAML has a problem of handling multi-byte characters.
 
 2. YAML is slower than Marshal
 
 I compared YAML and Marshal performance by runing test.rb(attached
 this mail), the result is
 
 YAML(dump):8.319402
 Marshal(dump):0.323576
 YAML(load):1.252383
 Marshal(load):0.374623
 
 I think caching by YAML has no advantage(excuding debug?). Maybe it
 would be better to replace YAML by Marshal or use Marshal in
 production environment.
 
 
 Keita Yamguchi
 
 
 
 
 --- app/models/response_cache.rb.orig 2006-09-29 13:22:11.0 +0900
 +++ app/models/response_cache.rb  2006-09-29 14:41:17.0 +0900
 @@ -94,7 +94,7 @@
  # Reads a cached response from disk and updates a response object.
  def read_response(path, response)
if content = read_page(path)
 -updates = YAML::load(content)
 +updates = Marshal.load(content)
  response.headers.merge!(updates['headers'] || {})
  response.body = updates['body']
end
 @@ -103,10 +103,10 @@
  
  # Writes a response to disk.
  def write_response(path, response)
 -  content = {
 +  content = Marshal.dump({
  'headers' = response.headers,
  'body' = response.body
 -  }.to_yaml
 +  })
cache_page(content, path)
  end
  end
 
 
 
 
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread John W. Long
Giovanni Intini wrote:
 You don't see them in the main page, have you tried going directly to their
 url? Because r:children:each still doesn't catch draft pages, even in dev
 mode.

Perhaps this is an oversight on my part. I'd accept a patch for this if 
it is truly a problem.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Presentation PDF

2006-09-29 Thread John W. Long
Nathan Wright wrote:
 I gave a presentation to our local Ruby/Rails meeting the other night,
 so I thought I'd post the slides here in case anyone is interested.
 It's pretty basic stuff, but it might help some who are new to
 Radiant.

Fantastic overview of Radiant. Do you have a url for it? I'd like to 
write a post about it on the Radiant blog.

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Dev and Prod radiant modes

2006-09-29 Thread Giovanni Intini
You could easily create a plugin to do this. It would need to monkeypatch the site controller, but it's definitely doable.
I'll put it into my pipeline and see what I can do :)
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
I'll look into it right now and see if I'm able to fix it. Still learning my way into radiant code :)2006/9/29, John W. Long [EMAIL PROTECTED]
:Giovanni Intini wrote: You don't see them in the main page, have you tried going directly to their
 url? Because r:children:each still doesn't catch draft pages, even in dev mode.Perhaps this is an oversight on my part. I'd accept a patch for this ifit is truly a problem.--
John Longhttp://wiseheartdesign.com___Radiant mailing listPost: Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site: http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

[Radiant] ml_subscribe

2006-09-29 Thread Giovanni Intini
Where can I find the ml_subscribe plugin?Thanks,Giovanni
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] ml_subscribe

2006-09-29 Thread John W. Long
Giovanni Intini wrote:
 Where can I find the ml_subscribe plugin?

It's a pretty specific plugin for the Ruby mailing list. But the source 
is here:

http://rubyidentity.org/ruby-lang.org/browser/ruby-lang.org/trunk/www/vendor/plugins/

--
John Long
http://wiseheartdesign.com
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] ml_subscribe

2006-09-29 Thread Giovanni Intini
Thanks for the link2006/9/29, John W. Long [EMAIL PROTECTED]:
Giovanni Intini wrote: Where can I find the ml_subscribe plugin?It's a pretty specific plugin for the Ruby mailing list. But the sourceis here:
http://rubyidentity.org/ruby-lang.org/browser/ruby-lang.org/trunk/www/vendor/plugins/--John Longhttp://wiseheartdesign.com___
Radiant mailing listPost: Radiant@lists.radiantcms.orgSearch: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Presentation PDF

2006-09-29 Thread Alexander Horn
I like the fact that your first slide gives the version number of
Radiant. It's just a small thing but inevitably install instructions
and the notion of behaviors are going to change.

-- 
Alexander Horn
http://www2.truman.edu/~ah428

On 9/29/06, John W. Long [EMAIL PROTECTED] wrote:
 Nathan Wright wrote:
  I gave a presentation to our local Ruby/Rails meeting the other night,
  so I thought I'd post the slides here in case anyone is interested.
  It's pretty basic stuff, but it might help some who are new to
  Radiant.

 Fantastic overview of Radiant. Do you have a url for it? I'd like to
 write a post about it on the Radiant blog.

 --
 John Long
 http://wiseheartdesign.com
 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] New Howto; How to use the Dev mode.

2006-09-29 Thread Giovanni Intini
John I looked through the sources to see if I could easily fix this problem and I fear it can't easily be fixed because r:children is inside a model, and the published state for retrieval is hardcoded in there.
On the other hand the subdomain recognization is controller level stuff. I think this is what someone was referring to when he said that Radiant stretches the MVC boundaries.2006/9/29, Giovanni Intini 
[EMAIL PROTECTED]:I'll look into it right now and see if I'm able to fix it. Still learning my way into radiant code :)
2006/9/29, John W. Long [EMAIL PROTECTED]
:Giovanni Intini wrote: You don't see them in the main page, have you tried going directly to their
 url? Because r:children:each still doesn't catch draft pages, even in dev mode.Perhaps this is an oversight on my part. I'd accept a patch for this ifit is truly a problem.--

John Longhttp://wiseheartdesign.com___Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/Site: 
http://lists.radiantcms.org/mailman/listinfo/radiant



___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Presentation PDF

2006-09-29 Thread Ollivier Robert
On 9/29/06, John W. Long [EMAIL PROTECTED] wrote:
 Nathan Wright wrote:
  I gave a presentation to our local Ruby/Rails meeting the other night,
  so I thought I'd post the slides here in case anyone is interested.
  It's pretty basic stuff, but it might help some who are new to
  Radiant.

 Fantastic overview of Radiant. Do you have a url for it? I'd like to
 write a post about it on the Radiant blog.

Yes, I'd like an URL too to put on my website and advertise it to people.
-- 
Ollivier Robert -
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] [Newb] Mixing radiant with my own webapp

2006-09-29 Thread Adam van den Hoven
Hey guys,

I have a quick question.

Lets assume that I have a web application that I would like to
integrate into a site that I want to build with radiant. Can I do
that?

I belong to the User Experience/Design team for an online banking
application for Canadian credit unions where we've integrated the
online banking with the corporate website. We want to build a
skunkworks that lets us rapidly test various design ideas for paying
bills or what have you. For us, being able to build something on rails
that lets us simulate our online banking app would be great.

Adam
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] sending emails fom behaviors

2006-09-29 Thread dror tirosh
HI,Can the method of using controllers showed in the search plugin can be used to send emails using rails mails models? and not using the workaround done in the mail behavior?Dror
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Presentation PDF

2006-09-29 Thread Luis Lavena
On 9/29/06, Nathan Wright [EMAIL PROTECTED] wrote:
 I gave a presentation to our local Ruby/Rails meeting the other night,
 so I thought I'd post the slides here in case anyone is interested.
 It's pretty basic stuff, but it might help some who are new to
 Radiant.

That was excellent Nathan!, The best Radiant introduction someone
could imagine. (Even if Radiant is simple, a fresh start is always a
bit difficult).

I could host the PDF on my site (just a link, no official website to
post more info).

If that's good with you, will post the link here (already uploaded it,
waiting you approval).

Good weekend everyone.


 --
 Nathan


 ___
 Radiant mailing list
 Post:   Radiant@lists.radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 Site:   http://lists.radiantcms.org/mailman/listinfo/radiant





-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
___
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant