Hi all, Hi Manuel,

thank you for your help.
Using the extension from the website Manuel mentioned, worked for me.

Thanks again,
Patrick


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Montag, 24. November 2008 19:00
An: radiant@radiantcms.org
Betreff: Radiant Digest, Vol 32, Issue 39

Send Radiant mailing list submissions to
        radiant@radiantcms.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://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 specific
than "Re: Contents of Radiant digest..."


Today's Topics:

   1. [ANN] Styles 'n Scripts v0.7 (Chris Parrish)
   2. Re: [ANN] Styles 'n Scripts v0.7 (Andrew Neil)
   3. RSS Reader Extension and Wordpress Blogs (Patrick Scheips)
   4. Re: RSS Reader Extension and Wordpress Blogs (Manuel Meurer)
   5. Re: [ANN] Styles 'n Scripts v0.7 (Anton J Aylward)
   6. Re: [ANN] Styles 'n Scripts v0.7 (Anton J Aylward)
   7. Re: Re: Rendering Partials within a Radius Tag (David Piehler)
   8. Re: [ANN] Styles 'n Scripts v0.7 (Chris Parrish)


----------------------------------------------------------------------

Message: 1
Date: Sun, 23 Nov 2008 22:47:30 -0700
From: Chris Parrish <[EMAIL PROTECTED]>
Subject: [Radiant] [ANN] Styles 'n Scripts v0.7
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Time for a new release.  This is mostly bugfixes and a minor addition or
two to work with other extension:

    * Renamed one of the TextAsset fields (internal change to let SnS
      work better with Andrew Neil's file_system extension).

    * The radiant:extensions:sns:config rake task was just plain
      broken.  I think most folks out there don't know about this tool
      or I'd have heard more complaints by now.

      Please note that this is *the* way to change the SnS settings --
      not directly in the db or with the settings extension as these
      bypass validations I have in place and, since I store these
      settings in memory, don't take effect until you restart your
      server.  The rake task, however, works properly and immediately.

    * There was an issue with one of the migrations if you had existing
      stylesheets/javascripts from an early SnS version (fringe case).

    * Changed the name of a model so that SnS now "just works" with the
      import-export and super-export extensions (nice tools, BTW)

    * Added the radiant:extensions:sns:update_dependencies rake task to
      recreate the dependencies table if you had a problem importing
      existing data (see above).

http://github.com/SwankInnovations/radiant-sns-extension/tree/master


-Chris


------------------------------

Message: 2
Date: Mon, 24 Nov 2008 13:28:27 +0000
From: "Andrew Neil" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] [ANN] Styles 'n Scripts v0.7
To: radiant@radiantcms.org
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Thanks Chris,

This means that it is time for me to announce my sns_file_system extension:

   http://github.com/nelstrom/radiant-sns_file_system-extension/tree/master

Also on the Radiant extensions repository:

    http://ext.radiantcms.org/extensions/69-sns-file-system

You will need the latest version of the file_system extension[1], as well as
Chris's latest (0.7) release of SnS.

With this extension installed, the styles and scripts are extended to
include the file_system functionality. This means that you can save to the
file system all of the stylesheets and javascripts that are managed through
the Radiant interface, by running the rake command `rake
file_system:to_files`. Any changes you make to these files can then be
loaded back in to the database by running `rake file_system:to_db`.

If you have written an extension, and you would like for it to piggy back on
the file_system extension, you might consider sns_file_system to be a useful
reference. Sean's template extension[2] also does this.

Cheers,
Drew


[1]: http://github.com/nelstrom/radiant-file-system-extension/tree/master
[2]: http://github.com/seancribbs/radiant-templates-extension/tree/master

On Mon, Nov 24, 2008 at 5:47 AM, Chris Parrish <
[EMAIL PROTECTED]> wrote:

> Time for a new release.  This is mostly bugfixes and a minor addition or
> two to work with other extension:
>
>   * Renamed one of the TextAsset fields (internal change to let SnS
>     work better with Andrew Neil's file_system extension).
>
>   * The radiant:extensions:sns:config rake task was just plain
>     broken.  I think most folks out there don't know about this tool
>     or I'd have heard more complaints by now.
>
>     Please note that this is *the* way to change the SnS settings --
>     not directly in the db or with the settings extension as these
>     bypass validations I have in place and, since I store these
>     settings in memory, don't take effect until you restart your
>     server.  The rake task, however, works properly and immediately.
>
>   * There was an issue with one of the migrations if you had existing
>     stylesheets/javascripts from an early SnS version (fringe case).
>
>   * Changed the name of a model so that SnS now "just works" with the
>     import-export and super-export extensions (nice tools, BTW)
>
>   * Added the radiant:extensions:sns:update_dependencies rake task to
>     recreate the dependencies table if you had a problem importing
>     existing data (see above).
>
> http://github.com/SwankInnovations/radiant-sns-extension/tree/master
>
>
> -Chris
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>


------------------------------

Message: 3
Date: Mon, 24 Nov 2008 14:49:46 +0100
From: Patrick Scheips <[EMAIL PROTECTED]>
Subject: [Radiant] RSS Reader Extension and Wordpress Blogs
To: "radiant@radiantcms.org" <radiant@radiantcms.org>
Message-ID:
        <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

Hi all,

I'm using Radiant CMS with the RSS Reader Extension 
(http://github.com/lorenjohnson/radiant-rss-reader) and would like to read use 
the extension for reading in the RSS feed of a Wordpress Blog.
Unfortunately that doesn't work very well.

Instead of the RSS articles Radiant just shows the following comment (only 
visible when viewing the source comment, because it's a comment):

<!-- RssReader error: You have a nil object when you didn't expect it!
The error occurred while evaluating nil.items -->

I don't think that the extension is configured wrong, because the RSS reader 
works well with various RSS feeds from various web pages.
Maybe the feed parser doesn't like the URL format of the feed, which is: 
http://example.com/?feed=rss2, because there aren't any problems with some (but 
not all) Wordpress RSS feeds using the URL format http://example.com/feed/.

Any ideas?

Thanks,
Patrick


------------------------------

Message: 4
Date: Mon, 24 Nov 2008 15:12:46 +0100
From: "Manuel Meurer" <[EMAIL PROTECTED]>
Subject: Re: [Radiant] RSS Reader Extension and Wordpress Blogs
To: radiant@radiantcms.org
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi Patrick,

Looks like a bug in the extension.
In lib/rss_reader.rb, it tries to read from the url
(http://example.com/?feed=rss2 in your case), but just looks at the
host and port  (http://example.com:80 in your case) and dismisses the
url parameters.
The Github user bryanl has forked the extension from lorenjohnson and
fixed the bug (see
http://github.com/bryanl/radiant-rss-reader/commit/be405349966cbf520c44303f184453284843acdc).
I recommend that you get a fresh copy from his latest version at
http://github.com/bryanl/radiant-rss-reader/tree/master
and try your luck with that one.

Manuel

On Mon, Nov 24, 2008 at 2:49 PM, Patrick Scheips <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using Radiant CMS with the RSS Reader Extension 
> (http://github.com/lorenjohnson/radiant-rss-reader) and would like to read 
> use the extension for reading in the RSS feed of a Wordpress Blog.
> Unfortunately that doesn't work very well.
>
> Instead of the RSS articles Radiant just shows the following comment (only 
> visible when viewing the source comment, because it's a comment):
>
> <!-- RssReader error: You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.items -->
>
> I don't think that the extension is configured wrong, because the RSS reader 
> works well with various RSS feeds from various web pages.
> Maybe the feed parser doesn't like the URL format of the feed, which is: 
> http://example.com/?feed=rss2, because there aren't any problems with some 
> (but not all) Wordpress RSS feeds using the URL format 
> http://example.com/feed/.
>
> Any ideas?
>
> Thanks,
> Patrick
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>


------------------------------

Message: 5
Date: Mon, 24 Nov 2008 09:19:54 -0500
From: Anton J Aylward <[EMAIL PROTECTED]>
Subject: Re: [Radiant] [ANN] Styles 'n Scripts v0.7
To: radiant@radiantcms.org
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Chris Parrish said the following on 11/24/2008 12:47 AM:
> Time for a new release.  This is mostly bugfixes and a minor addition or
> two to work with other extension:

Hint, please, as to the ways we might update depending on the way we
installed.


--
"The Air Force is reacting to the EPA ban on CFC's by replacing them in
the cooling systems of the ICBMs.  If they are ever fired, it will be an
environmentally friendly nuclear holocaust, not threatening the Ozone
layer."  -- _Access to Energy_, July 1993


------------------------------

Message: 6
Date: Mon, 24 Nov 2008 09:19:54 -0500
From: Anton J Aylward <[EMAIL PROTECTED]>
Subject: Re: [Radiant] [ANN] Styles 'n Scripts v0.7
To: radiant@radiantcms.org
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Chris Parrish said the following on 11/24/2008 12:47 AM:
> Time for a new release.  This is mostly bugfixes and a minor addition or
> two to work with other extension:

Hint, please, as to the ways we might update depending on the way we
installed.


--
"The Air Force is reacting to the EPA ban on CFC's by replacing them in
the cooling systems of the ICBMs.  If they are ever fired, it will be an
environmentally friendly nuclear holocaust, not threatening the Ozone
layer."  -- _Access to Energy_, July 1993


------------------------------

Message: 7
Date: Mon, 24 Nov 2008 18:13:37 +0100
From: David Piehler <[EMAIL PROTECTED]>
Subject: [Radiant] Re: Re: Rendering Partials within a Radius Tag
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=utf-8

Chris -- any idea why I can't use the h() method in my partials?

NoMethodError in SiteController#show_page
undefined method `h' for #<MyControllerName:0x3336ca8>

- Dave



Chris Parrish wrote:
> David, I still use that code in my extensions today (though I'd be
> interested to hear if anyone out there has come up with something
> better).
--
Posted via http://www.ruby-forum.com/.


------------------------------

Message: 8
Date: Mon, 24 Nov 2008 10:29:28 -0700
From: Chris Parrish <[EMAIL PROTECTED]>
Subject: Re: [Radiant] [ANN] Styles 'n Scripts v0.7
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Updating
--------
updating SnS is the same as every other extension, run:

    rake [your_env] radiant:extensions:sns:install

The install task is new to SnS in v0.7.  In previous versions (and with
other extensions that dont' have an install task), run:

    rake [your_env] radiant:extensions:[ext_name]:migrate
    rake [your_env] radiant:extensions:[ext_name]:update
    rake [your_env]
radiant:extensions:[ext_name]:any-other-task-needed-by-ext


Problems With Backing Up
------------------------
That said, a month or so ago Anton ran into problems when trying to port
data from one Radiant project to another (not quite the same as updating
an existing project).   In his case, during the backup/restore, the
text_asset_dependencies table was copied, and the records were copied --
but not their data.  As you can imagine, SnS didn't like that and threw
an error when it couldn't find the expected data.

Normally, I'd chalk this up to a failure in the import/export process
(he copied and pasted data manually using a sqlite editor) but then Nate
Turnage posted with (essentially) the same problem using the
Import-Export extension.  Except in his case, that table just wasn't
exported because of how the SnS table and model were named (it ignored
them).  With this release, I've changed SnS so that Import-Export (and
Super-Export) extensions will automatically find the models now.  (And
I've submitted a patch to those extensions so that this won't happen
with other extensions).


Backup & Restoring
------------------
Rules for copying data from one db to another (SnS or otherwise): Copy
*all* the data.  If using the same db in both places, I might suggest
using your db's dump tools.  The importing-and-exporting extensions
should now work just fine for you too.


New SnS Data Recreation Tool
--------------------------
I've added a new rake task in SnS to repair/rebuild the
text_asset_dependencies table.  It exists for a special migrations case
but it would also help the two situations above. Just run:

    rake [your_env] radiant:extensions:sns:rebuild_dependencies

And SnS will rebuild the text_asset_dependencies table (the table must
exist but it handles both missing and empty records).


-Chris



Anton J Aylward wrote:
> Chris Parrish said the following on 11/24/2008 12:47 AM:
>
>> Time for a new release.  This is mostly bugfixes and a minor addition or
>> two to work with other extension:
>>
>
> Hint, please, as to the ways we might update depending on the way we
> installed.
>
>
>



------------------------------

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

End of Radiant Digest, Vol 32, Issue 39
***************************************
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to