[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Posting remote forms / Getting content off the web

Casey Wilson

7/28/2006 7:49:00 AM

Hello,

I learned of Rails, and then Ruby and thought I'd much rather work with
the language itself first and not the framework.

So here I am in need of expanding a cron I have that currently updates a
few of my sites. The cron is a simple BASH script that will call the
ruby script in from a FOR loop. What I'm looking for right now is a way
to connect to the remote sites via Ruby, submit my changes to them via
POST etc.

It will require the script to log in first.

If you could point me to the right area of the docs I would be very
greatful.

Hopefully one day I'll be able to help others as they come to the forum.

Thank you for your time.

-Casey

--
Posted via http://www.ruby-....

8 Answers

mcobrien

7/28/2006 8:28:00 AM

0

Hey!

Welcome to ruby! The Net/HTTP library is probably what you're looking
for:

http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/...

Also, you've no doubt seen it already, but just in case:

http://www.rubycentral...

cheers
Michael

Casey Wilson wrote:
> Hello,
>
> I learned of Rails, and then Ruby and thought I'd much rather work with
> the language itself first and not the framework.
>
> So here I am in need of expanding a cron I have that currently updates a
> few of my sites. The cron is a simple BASH script that will call the
> ruby script in from a FOR loop. What I'm looking for right now is a way
> to connect to the remote sites via Ruby, submit my changes to them via
> POST etc.
>
> It will require the script to log in first.
>
> If you could point me to the right area of the docs I would be very
> greatful.
>
> Hopefully one day I'll be able to help others as they come to the forum.
>
> Thank you for your time.
>
> -Casey
>
> --
> Posted via http://www.ruby-....

Carrie

7/16/2009 12:26:00 PM

0


"JRad" <jradgosky@yahoo.com> wrote in message
news:d052aec8-0dc0-4118-8d4f-678450cb1cea@h31g2000yqd.googlegroups.com...
On Jul 16, 7:06 am, "mg weber-c." <m...@solcon.nl_> wrote:
> CHARTER: talk.religion.course-miracle
>
> talk.religion.course-miracle will be a newsgroup for the open discussion
> of
> A Course in Miracles, its principles, and the practical application of its
> teachings. Acceptable discussions will include how A Course in Miracles
> affects our lives, our experiences in practicing the teachings,
> discussions
> and debates concerning our understanding of its teachings, personal
> insights
> in the form of poetry and essays, and other forms of relating to the
> teachings of A Course in Miracles.
>
> This newsgroup will serve as a world-wide networking vehicle for A Course
> in
> Miracles and therefore acceptable posts will include notices of ACIM
> related
> events, notices of media coverage of A Course in Miracles, notices of
> publications related to A Course in Miracles, and any other news items
> concerning A Course in Miracles.
>
> Due to the nature of the teachings of A Course in Miracles, it is not
> necessary to discourage any flames in discussions about ACIM, but
> discussions unrelated to A Course in Miracles shall be discouraged.
>
> END CHARTER.

Greetings Martin,

I find the charter to be well articulated.

What it doesn't deal with is "how" participants will contribute and be
deemed to be ahering to it.

In other words, I don't think anyone can ever write anything that goes
against the charter. Except for that small group that somehow got
snuck in here that deals with the topic of Scientology. That was a
wierd little side bar going on. I guess it was some kind of system
glitch of some sort. But even with that, one can just go on by and
ignore it.

Them's my two pennies fwiw.

Happy Thursday.

JR

I was skimming down this, read the latest "charter" post (which is
occasionally posted here for whatever reason) and you responded to it the
way I was thinking.

Is posting ABOUT the charter and:

"The charter is against the abuse of this ng for non related
topics. such as trolling, gossip, exit therapies, you name it."

.... in line WITH the charter? Using the charter to go after others one
judges as wrong, bad, undesirable?

I would think, going by the course and being on topic, one would see
"trolling, gossip, exit therapies, you name it, etc" as being the perception
and choice of the one SEEING it that way.

Only the Love is real. Is seeing people the way Martin seems to... Loving?
Doesn't really matter, we (who read it) can always make our own choice.

Plenty of choices and chances to remember, here.




John Radgosky

7/16/2009 12:35:00 PM

0

On Jul 16, 7:46 am, "mg weber-c." <m...@solcon.nl_> wrote:
> >> I don't think anyone can ever write anything that goes
>
> against the charter. <<
>
> The charter is against the abuse of this ng for non related
> topics.  such as trolling, gossip, exit therapies, you name it.
>
> IOW you can't honestly justify your own contributions to the noise
> around here by declaring everything is ACIM related, or
> by denying that lots of writing here is not ACIM related.
>
> namazté

Hey Martin,

But it in that is where my personal "challenge" lies.

Earlier I wrote about "missed opportunities" which the author deals
with in the text and lessons. And the way I take that, it means that
every encounter no matter how sublime or grotesque, is still the same
opportunity. So no matter what the gossip, trolling and exit
therapies might look like, my choice is to ignore, bless or get
embroiled. Isn't that what we face out in our 3D worlds where we
leave this false environment for a more "phyicially connected" one ?

I believe I am in tune with your thoughts about the intent here and
especially since you are one of the influences which resulted in this
ng coming to be. So you have a
"vision" for it, I suppose. But perhaps divinity will guide the
"vision" in a direction which is more "real". But in all honesty I
feel the intent has to be left up to each participant, where no one
else can judge what that intent is. No matter how persistent seems the
lower intent. We cannot know. Nor can we know the totallity of the
plan, can we ?

This is how I see the course, it is truly a demanding thought system,
and yet it is simplicity itself. And what it all boils down to is how
the course identifies the reason for this is attributed to the ego,
and from whence it stems, and what the alternative is, and why.

And I know that sometimes for me it is a simple as can be and I sail
with it in full peace, and at other times I am "upset". And when I
leave upset I can only laugh at how silly it had been. But it IS a
strong force. That's why the course came to be. Because of the
strength of that force.

I just happen to see everything that occurs here has SOMETHING to do
with the course in some way. Even the parts I just don't like. But
then, that becomes MY problem.

Happy Thursday

JR

mazzel

7/16/2009 1:10:00 PM

0

hi John,

I am not disputing anyone's right for self moderation.
Neither your personal right to engage the clearly
irrational and unethical. I disagree with your assessment
that all contributions here are in accord with the charter.

I have zero tolerance for anti-christ rethoric,
destructive and militant bigotry or cult recruitment,
chaos teachings and unlawful conduct,
and i handle my block-sender file accordingly.

And, as far as "We cannot know" goes, I do rely
on my Guidance which tells me whatever I need to know,
whenever I need to know it. I trust you do the same.

peace, m




"JRad" <jradgosky@yahoo.com> schreef in bericht
news:341d9193-e672-40bf-a035-771edc94dcec@32g2000yqj.googlegroups.com...
On Jul 16, 7:46 am, "mg weber-c." <m...@solcon.nl_> wrote:
> >> I don't think anyone can ever write anything that goes
>
> against the charter. <<
>
> The charter is against the abuse of this ng for non related
> topics. such as trolling, gossip, exit therapies, you name it.
>
> IOW you can't honestly justify your own contributions to the noise
> around here by declaring everything is ACIM related, or
> by denying that lots of writing here is not ACIM related.
>
> namazt?

Hey Martin,

But it in that is where my personal "challenge" lies.

Earlier I wrote about "missed opportunities" which the author deals
with in the text and lessons. And the way I take that, it means that
every encounter no matter how sublime or grotesque, is still the same
opportunity. So no matter what the gossip, trolling and exit
therapies might look like, my choice is to ignore, bless or get
embroiled. Isn't that what we face out in our 3D worlds where we
leave this false environment for a more "phyicially connected" one ?

I believe I am in tune with your thoughts about the intent here and
especially since you are one of the influences which resulted in this
ng coming to be. So you have a
"vision" for it, I suppose. But perhaps divinity will guide the
"vision" in a direction which is more "real". But in all honesty I
feel the intent has to be left up to each participant, where no one
else can judge what that intent is. No matter how persistent seems the
lower intent. We cannot know. Nor can we know the totallity of the
plan, can we ?

This is how I see the course, it is truly a demanding thought system,
and yet it is simplicity itself. And what it all boils down to is how
the course identifies the reason for this is attributed to the ego,
and from whence it stems, and what the alternative is, and why.

And I know that sometimes for me it is a simple as can be and I sail
with it in full peace, and at other times I am "upset". And when I
leave upset I can only laugh at how silly it had been. But it IS a
strong force. That's why the course came to be. Because of the
strength of that force.

I just happen to see everything that occurs here has SOMETHING to do
with the course in some way. Even the parts I just don't like. But
then, that becomes MY problem.

Happy Thursday

JR


John Radgosky

7/16/2009 1:19:00 PM

0

On Jul 16, 9:09 am, "mg weber-c." <m...@solcon.nl_> wrote:
> hi John,
>
> I am not disputing anyone's right for self moderation.
> Neither your personal right to engage the clearly
> irrational and unethical. I disagree with your assessment
> that all contributions here are in accord with the charter.
>
> I have zero tolerance for anti-christ rethoric,
> destructive and militant bigotry or cult recruitment,
> chaos teachings and unlawful conduct,
> and i handle my block-sender file accordingly.
>
> And, as far as "We cannot know" goes, I do rely
> on my Guidance which tells me whatever I need to know,
> whenever I need to know it. I trust you do the same.
>
> peace, m
>

Hey Martin,

Ya know I always have your back, you can count on me (just be wary of
my ego) and so we keep going forward into this wonderful day and the
many opportunities it will present .....

Happy Thursday.

JR

mazzel

7/16/2009 1:26:00 PM

0


"JRad" <jradgosky@yahoo.com> schreef in bericht
news:396e8191-b242-43c7-9685-a75f13be2b06@h11g2000yqb.googlegroups.com...
On Jul 16, 9:09 am, "mg weber-c." <m...@solcon.nl_> wrote:
> hi John,
>
> I am not disputing anyone's right for self moderation.
> Neither your personal right to engage the clearly
> irrational and unethical. I disagree with your assessment
> that all contributions here are in accord with the charter.
>
> I have zero tolerance for anti-christ rethoric,
> destructive and militant bigotry or cult recruitment,
> chaos teachings and unlawful conduct,
> and i handle my block-sender file accordingly.
>
> And, as far as "We cannot know" goes, I do rely
> on my Guidance which tells me whatever I need to know,
> whenever I need to know it. I trust you do the same.
>
> peace, m
>

Hey Martin,

Ya know I always have your back, you can count on me (just be wary of
my ego) and so we keep going forward into this wonderful day and the
many opportunities it will present .....

Happy Thursday.

JR<<

Here my embassy artwork to th eGolden Rule.
It contains 13 musical bits from 13 traditions
in the world mentioning the Golden Rule in their
scripture, you might like it. Enjoy, mARTin
http://www.reverbnation.com/tunepak/so...


Carrie

7/16/2009 2:01:00 PM

0


"mg weber-c." <maz@solcon.nl_> wrote in message
news:4a5f268d$0$18777$703f8584@news.kpn.nl...
> hi John,
>
> I am not disputing anyone's right for self moderation.
> Neither your personal right to engage the clearly
> irrational and unethical. I disagree with your assessment
> that all contributions here are in accord with the charter.
>
> I have zero tolerance for anti-christ rethoric,
> destructive and militant bigotry or cult recruitment,
> chaos teachings and unlawful conduct,
> and i handle my block-sender file accordingly.

This is your issue.
Don't use it to dump YOUR negative and unkind/unloving stuff on the rest
of the newsgroup. And hide it under the guise of keeping the newsgroup the
way it's supposed to be (according to you and your judement)
Focus on what YOU contribute to it that's on topic (whatever you might feel
that is) and how YOU are coming across, i.e. what the course teaches.
I know you have "demanded" I not write to you here, but you have also
stated many times I am on your blocked/killfile list. So, if you are reading
this, you must have taken me off for some reason, and put me back on.
Simple

>
> And, as far as "We cannot know" goes, I do rely
> on my Guidance which tells me whatever I need to know,
> whenever I need to know it. I trust you do the same.
>
> peace, m
>
>
>
>
> "JRad" <jradgosky@yahoo.com> schreef in bericht
> news:341d9193-e672-40bf-a035-771edc94dcec@32g2000yqj.googlegroups.com...
> On Jul 16, 7:46 am, "mg weber-c." <m...@solcon.nl_> wrote:
>> >> I don't think anyone can ever write anything that goes
>>
>> against the charter. <<
>>
>> The charter is against the abuse of this ng for non related
>> topics. such as trolling, gossip, exit therapies, you name it.
>>
>> IOW you can't honestly justify your own contributions to the noise
>> around here by declaring everything is ACIM related, or
>> by denying that lots of writing here is not ACIM related.
>>
>> namazt?
>
> Hey Martin,
>
> But it in that is where my personal "challenge" lies.
>
> Earlier I wrote about "missed opportunities" which the author deals
> with in the text and lessons. And the way I take that, it means that
> every encounter no matter how sublime or grotesque, is still the same
> opportunity. So no matter what the gossip, trolling and exit
> therapies might look like, my choice is to ignore, bless or get
> embroiled. Isn't that what we face out in our 3D worlds where we
> leave this false environment for a more "phyicially connected" one ?
>
> I believe I am in tune with your thoughts about the intent here and
> especially since you are one of the influences which resulted in this
> ng coming to be. So you have a
> "vision" for it, I suppose. But perhaps divinity will guide the
> "vision" in a direction which is more "real". But in all honesty I
> feel the intent has to be left up to each participant, where no one
> else can judge what that intent is. No matter how persistent seems the
> lower intent. We cannot know. Nor can we know the totallity of the
> plan, can we ?
>
> This is how I see the course, it is truly a demanding thought system,
> and yet it is simplicity itself. And what it all boils down to is how
> the course identifies the reason for this is attributed to the ego,
> and from whence it stems, and what the alternative is, and why.
>
> And I know that sometimes for me it is a simple as can be and I sail
> with it in full peace, and at other times I am "upset". And when I
> leave upset I can only laugh at how silly it had been. But it IS a
> strong force. That's why the course came to be. Because of the
> strength of that force.
>
> I just happen to see everything that occurs here has SOMETHING to do
> with the course in some way. Even the parts I just don't like. But
> then, that becomes MY problem.
>
> Happy Thursday
>
> JR
>
>


zehnoner@gmail.com

7/17/2009 9:53:00 PM

0

On Jul 16, 9:26 am, "mg weber-c." <m...@solcon.nl_> wrote:
> "JRad" <jradgo...@yahoo.com> schreef in berichtnews:396e8191-b242-43c7-9685-a75f13be2b06@h11g2000yqb.googlegroups.com...
> On Jul 16, 9:09 am, "mg weber-c." <m...@solcon.nl_> wrote:
>
>
>
>
>
> > hi John,
>
> > I am not disputing anyone's right for self moderation.
> > Neither your personal right to engage the clearly
> > irrational and unethical. I disagree with your assessment
> > that all contributions here are in accord with the charter.
>
> > I have zero tolerance for anti-christ rethoric,
> > destructive and militant bigotry or cult recruitment,
> > chaos teachings and unlawful conduct,
> > and i handle my block-sender file accordingly.
>
> > And, as far as "We cannot know" goes, I do rely
> > on my Guidance which tells me whatever I need to know,
> > whenever I need to know it. I trust you do the same.
>
> > peace, m
>
> Hey Martin,
>
> Ya know I always have your back, you can count on me (just be wary of
> my ego) and so we keep going forward into this wonderful day and the
> many opportunities it will present .....
>
> Happy Thursday.
>
> JR<<
>
> Here my embassy artwork to th eGolden Rule.
> It contains 13 musical bits from 13 traditions
> in the world mentioning the Golden Rule in their
> scripture, you might like it. Enjoy, mARTinhttp://www.reverbnation.com/tunepak/so...

this thread was nice because there is honesty from each point of view
and clearly two people found a bridge. Maz, the music is great,
listening to it now.