HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 20, 2012, 05:59 PM
I think I'm inverted. Maybe.
acetech09's Avatar
United States, CA, Pacifica
Joined Apr 2012
1,509 Posts
I just tried that as well, but the RSS also spams with forum posts, and so all posts with 9XR on the HK forums started popping up there as well. Sigh... I'm probably not going to be buying a 9xR anyway.
acetech09 is offline Find More Posts by acetech09
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 20, 2012, 07:58 PM
Registered User
cold wombat's Avatar
Australia, WA, Perth
Joined Jul 2011
288 Posts
So grep the new products page rather than the rss feed. Too easy.
cold wombat is offline Find More Posts by cold wombat
Reply With Quote
Old Nov 20, 2012, 08:30 PM
Registered Adict
tignmeg's Avatar
Australia, WA, Drummond Cove
Joined Jun 2012
383 Posts
LOL
I had to google "grep"
Now I've got hours of reading o do to figure out how this all works.
Any chance of a quick summary?
tignmeg is offline Find More Posts by tignmeg
Reply With Quote
Old Nov 20, 2012, 08:56 PM
Tassie Electric, Heli, Glider
ChrisJ800's Avatar
Hobart, Australia
Joined Oct 2002
2,558 Posts
Ive just done the old fashioned thing and put down in my diary to check the hk website on dec 15th!
ChrisJ800 is offline Find More Posts by ChrisJ800
Reply With Quote
Old Nov 20, 2012, 08:58 PM
Youtube: RCTestFlite
United States, NE, Lincoln
Joined Jul 2012
31 Posts
Quote:
Originally Posted by ChrisJ800 View Post
Ive just done the old fashioned thing and put down in my diary to check the hk website on dec 15th!
Nice! Or in my case, check the HK page every day! I can't wait!!!
flyboy7531 is offline Find More Posts by flyboy7531
Reply With Quote
Old Nov 20, 2012, 09:04 PM
Registered Adict
tignmeg's Avatar
Australia, WA, Drummond Cove
Joined Jun 2012
383 Posts
Quote:
Originally Posted by ChrisJ800 View Post
Ive just done the old fashioned thing and put down in my diary to check the hk website on dec 15th!

LMAO

OF COURSE !!! simplicity at its best
tignmeg is offline Find More Posts by tignmeg
Reply With Quote
Old Nov 20, 2012, 11:18 PM
I think I'm inverted. Maybe.
acetech09's Avatar
United States, CA, Pacifica
Joined Apr 2012
1,509 Posts
I just know that somebody else here will find it, and it'll show up since I'm subscribed to this thread
acetech09 is offline Find More Posts by acetech09
Reply With Quote
Old Nov 21, 2012, 03:18 AM
Chris
The Netherlands, NB, Eindhoven
Joined Sep 2010
1,847 Posts
Quote:
Originally Posted by tignmeg View Post
LOL
I had to google "grep"
Now I've got hours of reading o do to figure out how this all works.
Any chance of a quick summary?
grep will filter out any lines NOT containing a PATTERN

So if you have a file "file" with many lines, usage would be
Code:
cat file | grep PATTERN
If you want to look for a line containing "megan", syntax would be:
Code:
cat file | grep megan
That simple
cmavr8 is offline Find More Posts by cmavr8
Last edited by cmavr8; Nov 21, 2012 at 11:02 AM. Reason: corrected ">" to "|" - silly me
Reply With Quote
Old Nov 21, 2012, 10:48 AM
Registered User
molond's Avatar
Australia, SA, Adelaide
Joined Oct 2011
253 Posts
Quote:
Originally Posted by cmavr8 View Post
grep will filter out any lines NOT containing a PATTERN

So if you have a file "file" with many lines, usage would be
Code:
cat file > grep PATTERN
If you want to look for a line containing "megan", syntax would be:
Code:
cat file > grep megan
That simple
so would it be something like
Code:
cat http://www.hobbyking.com/hobbyking/store/__309__190__Tx_Rx_Systems_Parts-2_4Ghz_Turnigy.html > grep 9XR
molond is offline Find More Posts by molond
Reply With Quote
Old Nov 21, 2012, 11:01 AM
It's all about Quadcopters
United Kingdom, England, Surrey
Joined Nov 2012
344 Posts
Hi just in case anyone is a geek like me and knows some PHP and wants to make a feed checker here is what I would do:

Create a file called "check.php"

Code:
Code Removed!
Then just make a blank file called "failsafe.txt" and put it in the same folder then just setup a cron job to check every few minutes...done!

EDIT: Actually I decided to remove the code because HobbyKing might be bombarded with cron requests and there site already seems to be running very slow, but if anyone wants to be added to my code then just PM me there email address
ecreative is online now Find More Posts by ecreative
Last edited by ecreative; Nov 21, 2012 at 03:57 PM.
Reply With Quote
Old Nov 21, 2012, 11:04 AM
Chris
The Netherlands, NB, Eindhoven
Joined Sep 2010
1,847 Posts
Quote:
Originally Posted by molond View Post
so would it be something like
Code:
cat http://www.hobbyking.com/hobbyking/store/__309__190__Tx_Rx_Systems_Parts-2_4Ghz_Turnigy.html > grep 9XR
No, it wouldn't work so easy, you need to download the file first (wget would work).
But ecreative posted a php script that is much better!

I'll try it now... :P
cmavr8 is offline Find More Posts by cmavr8
Reply With Quote
Old Nov 21, 2012, 11:12 AM
Chris
The Netherlands, NB, Eindhoven
Joined Sep 2010
1,847 Posts
Quote:
Originally Posted by ecreative View Post
Hi just in case anyone is a geek like me and knows some PHP and wants to make a feed checker here is what I would do:

Create a file called "check.php"

Then just make a blank file called "failsafe.txt" and put it in the same folder then just setup a cron job to check every few minutes...done!
Thanks for the code!
What would work for the cron job? Just curl'ing the checker.php file?

EDIT: the email is sent (returns 1, TRUE) but I don't receive it in my inbox.. strange..
cmavr8 is offline Find More Posts by cmavr8
Last edited by cmavr8; Nov 21, 2012 at 11:23 AM.
Reply With Quote
Old Nov 21, 2012, 12:43 PM
It's all about Quadcopters
United Kingdom, England, Surrey
Joined Nov 2012
344 Posts
Quote:
Originally Posted by cmavr8 View Post
Thanks for the code!
What would work for the cron job? Just curl'ing the checker.php file?

EDIT: the email is sent (returns 1, TRUE) but I don't receive it in my inbox.. strange..
Is that through manually running the script or through the cron job?

If it is through the cron make sure you add php -f before the link to the code as some cron jobs stop emails being sent:

e.g.

Code:
php -f /home/USERNAME/public_html/HK/check.php
As a test I set the script to search for "Orange" as the three latest feeds have that word in them
ecreative is online now Find More Posts by ecreative
Reply With Quote
Old Nov 22, 2012, 04:52 AM
Registered User
Suomi, Lšnsi-Suomi, Uurainen
Joined Jan 2004
672 Posts
Quote:
Originally Posted by Harri Pihl View Post
Well, there is a potential problem that a non Spektrum built tx module shares the same tx id as a genuine Spektrum system. So that button might be for changing that.

And if that assumption is correct... figure out the rest
Looks like this will be the problem

From the Orange module manual:

Harri Pihl is offline Find More Posts by Harri Pihl
Reply With Quote
Old Nov 22, 2012, 06:30 AM
Registered User
Joined Jul 2008
253 Posts
Quote:
Originally Posted by Harri Pihl View Post
Looks like this will be the problem

From the Orange module manual:

if I understand correctly, they use GUID as id (http://www.spektrumrc.com/DSM/Technology/DSM2.aspx), if that is true, then according to wikipedia "the total number of unique such GUIDs is 2^122 or 5.3◊10^36. This number is so large that the probability of the same number being generated randomly twice is negligible".
Unless all orange tx modules have initial id equal or their id not truly GUID, possibility to have two people with same id's in single field is much smaller than possibility to win jack pot seven times in a row
dziedrius is offline Find More Posts by dziedrius
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Gens Ace, Turnigy, Turnigy Nano-Tech Sky lipo, etc. What's Your Preference? jlloyd1995 Batteries and Chargers 125 Jan 19, 2014 01:09 PM
Sold 2 turnigy motors 2 turnigy esc's crashnburn69 Aircraft - Electric - Power Systems (FS/W) 4 Oct 13, 2012 11:05 AM
For Sale Turnigy 2x 3s 1000 mah and 2s 1000 mah and Turnigy 2s/3s Lipo charger. Falconpunch Aircraft - Electric - Batteries & Chargers (FS/W) 1 Mar 18, 2012 09:47 PM
Discussion Turnigy or Turnigy Nanotech lawguy14 Batteries and Chargers 4 Mar 15, 2012 08:48 AM