Forum: Ruby on Rails how to user heywatch

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
daociyiyou (Guest)
on 2009-04-14 07:14
(Received via mailing list)
hello:
 I have deployed a rails app :
 ######## http://video-encode.herokugarden.com/encode ########
 The app uses rss to get raw video link and codes following to
discover- encode- transfer   videos.
 ##################################################
 url=item_array0
 Discover.create( :url => url,
:download => true,
:title => item_array0,
:automatic_encode => true,
:format_id => format_hash[:if_flv],
 :ftp_directive => ””)
#################################################
But after running these codes, i need to know the success or fail info
to take steps.If fails,execute one fail-related method,if
success,execute one suc-related method.
1 So what is ping url? how it works? how to use it?
2 Can you give me a way to get the suc/fail info after discover encode
transfer a video?.
3 Can you give me a tutorial about how to use heywatch instead of
hewwatch itself's
I have read the heyewatch.com again and again,but can not resolve my
problem.Thank you very much
daociyiyou (Guest)
on 2009-04-14 12:48
(Received via mailing list)
what is ping url? how it works? how to use it? anyone can help me?
Thanks very much.
daociyiyou (Guest)
on 2009-04-14 15:17
(Received via mailing list)
anyone can help me?
Phlip (Guest)
on 2009-04-14 15:24
(Received via mailing list)
daociyiyou wrote:

> anyone can help me?

Post the code you are using to read this RSS feed. The code around this:

>>>  url=item_array0
>>>  Discover.create( :url => url,
>>> :download => true,
>>> :title => item_array0,
>>> :automatic_encode => true,
>>> :format_id => format_hash[:if_flv],
>>>  :ftp_directive => "")

And your question is not entirely about Rails itself. Please study other
successful questions here...
daociyiyou (Guest)
on 2009-04-14 19:27
(Received via mailing list)
thanks
This topic is locked and can not be replied to.