Re: [consulting] managing many sites
Op dinsdag 13 december 2005 09:53, schreef Dries Buytaert:
Yes. I have been thinking exactly that. We could re-use the aggregator module's RSS parsing routines to suck in important announcements and show them on a dashboard (main administration page).
For our hosting environment I am writing a module that does exactly that. My plan for using it, is a tip of the day for admins. but we can use it for this too. The hard part, is getting a proper XML parser out :) Ive started this, and its in my sandbox, but RSS/XML parsing on php < 5 is a nightmare :) and aaggregator.module is far too specific and needs nearly complete rearchitecturing if it wants to become a general RSS parser. XML gurus please hop on :) -- | Bèr Kessels | webschuur.com | website development | | Jabber & Google Talk: ber@jabber.webschuur.com | http://bler.webschuur.com | http://www.webschuur.com |
why not use the publish / subscribe module ? On 13 Dec 2005, at 12:13 PM, Ber Kessels wrote:
Op dinsdag 13 december 2005 09:53, schreef Dries Buytaert:
Yes. I have been thinking exactly that. We could re-use the aggregator module's RSS parsing routines to suck in important announcements and show them on a dashboard (main administration page).
For our hosting environment I am writing a module that does exactly that.
My plan for using it, is a tip of the day for admins. but we can use it for this too.
The hard part, is getting a proper XML parser out :) Ive started this, and its in my sandbox, but RSS/XML parsing on php < 5 is a nightmare :) and aaggregator.module is far too specific and needs nearly complete rearchitecturing if it wants to become a general RSS parser. XML gurus please hop on :)
-- | Bèr Kessels | webschuur.com | website development | | Jabber & Google Talk: ber@jabber.webschuur.com | http://bler.webschuur.com | http://www.webschuur.com |
-- Adrian Rossouw Drupal developer and Bryght Guy http://drupal.org | http://bryght.com
Op dinsdag 13 december 2005 12:30, schreef Adrian Rossouw:
why not use the publish / subscribe module ?
tips would show up as drupal_set_message. That was the plan. publish / subscribe is soooo nineties, using mail. yuk ;) -- [ Bèr Kessels | Drupal services www.webschuur.com ]
On 12/13/05 5:13 AM, Ber Kessels wrote:
Op dinsdag 13 december 2005 09:53, schreef Dries Buytaert:
Yes. I have been thinking exactly that. We could re-use the aggregator module's RSS parsing routines to suck in important announcements and show them on a dashboard (main administration page).
For our hosting environment I am writing a module that does exactly that.
My plan for using it, is a tip of the day for admins. but we can use it for this too.
The hard part, is getting a proper XML parser out :) Ive started this, and its in my sandbox, but RSS/XML parsing on php < 5 is a nightmare :) and aaggregator.module is far too specific and needs nearly complete rearchitecturing if it wants to become a general RSS parser. XML gurus please hop on :)
I've mumbled about working on an xml.inc (and feed.inc on top of that) where xml.inc would provide a "drupal-ish" general framework for xml parsing & writing, and feed.inc would layer on top of that to do the RSS / Atom / etc specific bits on top of that ... obviously, not as a 4.7 thing... but I have been (and will be more so) dealing with enough webservices (that speak all XML) that this is a thing who's time has come. -- James Walker :: http://walkah.net/ :: xmpp:walkah@walkah.net
A little bit OT... the consulting list have following header lines: List-Id: A list for Drupal consultants and Drupal service/hosting providers <consulting.drupal.org> That is, a List-Id that spans over two lines. This makes it harder for me to sort incoming mail, I can't just do * ^List-Id: .* <consulting.drupal.org> Could this be changed by either removing some of the text or not wrapping the line? Thank you. -- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus!
Hi, On Tue, Dec 13, 2005 at 08:58:02PM +0100, Piotr Krukowiecki wrote:
List-Id: A list for Drupal consultants and Drupal service/hosting providers <consulting.drupal.org>
That is, a List-Id that spans over two lines. This makes it harder for me to sort incoming mail, I can't just do * ^List-Id: .* <consulting.drupal.org> Could this be changed by either removing some of the text or not wrapping the line?
You can use something like :0: * ^X-BeenThere:\ \/[^@]*@drupal.org IN.DRUPAL.`echo $MATCH | sed -e 's/@drupal.org//'` to automatically sort mail from any Drupal mailing list using procmail. The mailboxes will be named IN.DRUPAL.development IN.DRUPAL.security etc. HTH, Uwe. -- Uwe Hermann <uwe@hermann-uwe.de> http://www.hermann-uwe.de | http://www.crazy-hacks.org http://www.it-services-uh.de | http://www.phpmeat.org http://www.unmaintained-free-software.org | http://www.holsham-traders.de
On Tue, Dec 13, 2005 at 11:20:58PM +0100, Uwe Hermann wrote:
You can use something like
:0: * ^X-BeenThere:\ \/[^@]*@drupal.org IN.DRUPAL.`echo $MATCH | sed -e 's/@drupal.org//'`
Thanks for the tip, although this echo/sed calls look horrible ;) Anyway, Adrian's proposition works better, and uses more standart List-Id. Thanks as well. -- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus!
Piotr Krukowiecki wrote:
I can't just do * ^List-Id: .* <consulting.drupal.org> No need for a change, just do it right:
* ^List-Id.*consulting.drupal.org -- adrinux (aka Adrian Simmons) <http://adrinux.perlucida.com> e-mail <mailto:adrinux@gmail.com> AOL/Yahoo IM: perlucida, Microsoft: adrian@perlucida.com
participants (7)
-
Adrian Rossouw -
Adrian Simmons -
Ber Kessels -
Bèr Kessels -
James Walker -
piotr@mallorn.ii.uj.edu.pl -
Uwe Hermann