Re: [Radiant] feedburner integration with Radiant

2009-07-24 Thread Rafael Souza
I find a simple way to do this in all my assets. I edited "asset_tags.rb"
file from paperclipped extension. I replace line 186 with "url =
request.protocol + request.host_with_port + asset.thumbnail(size)", and it
works for me.

If it's not a good idea, let me know, please.

Thanks,

Rafael Souza
raf...@maisweb.org
+55 84 8844-9171


On Fri, Jul 24, 2009 at 9:07 AM, Keith Bingman wrote:

> Rafael
>
> There are a couple of ways to do this. The easiest would be to set a new
> value for the image url in the Settings ext. or in Radiant::Config.
>
> Just add a new setting for 'assets.url' with the value '
> http://mydomain.com/:class/:id/:basename:no_original_style:extension' and
> you will be good to go. I just tried this and the new src attribute indeed
> has the domain in it. This is the default path, with the domain added. You
> can modify the path if you want, but of course you will have to move the
> existing assets accordingly.
>
> These settings were added when I updated Paperclipped to use Amazon S3, but
> of course work if you are using the file system too
>
> Another way would be to not use the  tag, but rather a more
> verbose version like this:
>
> http://mydomin.com/" alt=" " or something
> along these lines.
>
> Let me know if that helps.
>
> Keith
>
>
>
> Keith Bingman
>
> ke...@keithbingman.com
> http://keithbingman.com
>
>
>
>
>
> On Jul 23, 2009, at 11:52 PM, Rafael Souza wrote:
>
>  Anyone is using feedburner to manage feeds?
>>
>> I am having problems with images (I use paperclipped extension to manage
>> images) when generating the feed.
>>
>> The image "src" attribute is like "/assets/(id)/(nome_do_arquivo)", but I
>> think for feedburner it must be "
>> http://mydomain.com/assets/(id)/(nome_do_arquivo)
>> "
>>
>> Thanks,
>>
>> Rafael Souza
>> raf...@maisweb.org
>> +55 84 8844-9171
>> ___
>> Radiant mailing list
>> Post:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
> ___
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] feedburner integration with Radiant

2009-07-24 Thread Keith Bingman

Rafael

There are a couple of ways to do this. The easiest would be to set a  
new value for the image url in the Settings ext. or in Radiant::Config.


Just add a new setting for 'assets.url' with the value 'http://mydomain.com/:class/:id/:basename:no_original_style:extension' 
 and you will be good to go. I just tried this and the new src  
attribute indeed has the domain in it. This is the default path, with  
the domain added. You can modify the path if you want, but of course  
you will have to move the existing assets accordingly.


These settings were added when I updated Paperclipped to use Amazon  
S3, but of course work if you are using the file system too


Another way would be to not use the  tag, but rather a more  
verbose version like this:


http://mydomin.com/" alt=" " or  
something along these lines.


Let me know if that helps.

Keith



Keith Bingman

ke...@keithbingman.com
http://keithbingman.com




On Jul 23, 2009, at 11:52 PM, Rafael Souza wrote:


Anyone is using feedburner to manage feeds?

I am having problems with images (I use paperclipped extension to  
manage

images) when generating the feed.

The image "src" attribute is like "/assets/(id)/(nome_do_arquivo)",  
but I

think for feedburner it must be "
http://mydomain.com/assets/(id)/(nome_do_arquivo)"

Thanks,

Rafael Souza
raf...@maisweb.org
+55 84 8844-9171
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


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


[Radiant] feedburner integration with Radiant

2009-07-23 Thread Rafael Souza
Anyone is using feedburner to manage feeds?

I am having problems with images (I use paperclipped extension to manage
images) when generating the feed.

The image "src" attribute is like "/assets/(id)/(nome_do_arquivo)", but I
think for feedburner it must be "
http://mydomain.com/assets/(id)/(nome_do_arquivo)"

Thanks,

Rafael Souza
raf...@maisweb.org
+55 84 8844-9171
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant