TheMusiKid

Untitled

Nov 28th, 2011
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.07 KB | None | 0 0
  1. 9:48 PM - TheMusiKid (Chuck Testa Cools): I was thinking of setting up a service that, when you send an email to a certain address, it will parse the email and create an RSS feed or XML feed or whatever
  2. 9:48 PM - TheMusiKid (Chuck Testa Cools): Create/update
  3. 9:48 PM - TheMusiKid (Chuck Testa Cools): etc.
  4. 9:48 PM - Matt: Most things have RSS feeds already, no?
  5. 9:49 PM - TheMusiKid (Chuck Testa Cools): Like, I send an email to, for example, [email protected]
  6. 9:49 PM - TheMusiKid (Chuck Testa Cools): And it will parse the email for subject, sender, content, etc.
  7. 9:49 PM - TheMusiKid (Chuck Testa Cools): And create an RSS feed or some kind of feed that can be read
  8. 9:49 PM - Matt: I don't see what you're trying to accomplish
  9. 9:49 PM - Matt: what's it making an RSS feed for
  10. 9:50 PM - Matt: for the email?
  11. 9:50 PM - TheMusiKid (Chuck Testa Cools): To be read by google Reader or another feed reading service
  12. 9:50 PM - TheMusiKid (Chuck Testa Cools): yes
  13. 9:50 PM - Matt: Yeah but what content goes into the RSS?
  14. 9:50 PM - TheMusiKid (Chuck Testa Cools): The content of the email.
  15. 9:50 PM - TheMusiKid (Chuck Testa Cools): The sender
  16. 9:50 PM - Matt: So I could send an email to that
  17. 9:50 PM - Matt: and people subscribed to my RSS
  18. 9:50 PM - Matt: would get the contents into an RSS
  19. 9:50 PM - TheMusiKid (Chuck Testa Cools): Precisely.
  20. 9:51 PM - TheMusiKid (Chuck Testa Cools): Since Google Reader removed the share feature.
  21. 9:51 PM - TheMusiKid (Chuck Testa Cools): I am going to set up a workaround.
  22. 9:51 PM - TheMusiKid (Chuck Testa Cools): You get me now?
  23. 9:51 PM - Matt: Don't see how that's a work around
  24. 9:51 PM - TheMusiKid (Chuck Testa Cools): Why?
  25. 9:51 PM - TheMusiKid (Chuck Testa Cools): how?
  26. 9:51 PM - Matt: Or are you proposing that everyone email the thing they want to share
  27. 9:52 PM - Matt: and then you follow someone to see what they shared?
  28. 9:52 PM - TheMusiKid (Chuck Testa Cools): Google Reader still has an option to send the item
  29. 9:52 PM - TheMusiKid (Chuck Testa Cools): It just removed the feature to "Share" it
  30. 9:53 PM - TheMusiKid (Chuck Testa Cools): So now instead of "Share"'ing an item with other people (who are following you on Google Reader), you simply click the "Send" button, type in the email of the parser or whatever you'd call it
  31. 9:53 PM - TheMusiKid (Chuck Testa Cools): And it would update "your" feed of items that you've "shared"
  32. 9:53 PM - Matt: And then people can just subscribe to that email?
  33. 9:53 PM - Matt: I think I get it now
  34. 9:53 PM - TheMusiKid (Chuck Testa Cools): Yeah
  35. 9:53 PM - TheMusiKid (Chuck Testa Cools): Exactly.
  36. 9:54 PM - TheMusiKid (Chuck Testa Cools): Like, you'd create an account or what-the-hell ever and it'd record your name and email.
  37. 9:54 PM - TheMusiKid (Chuck Testa Cools): Whenever an item is sent from that email address, it would update the RSS feed associated with that name.
  38. 9:54 PM - Matt: Wouldn't that make it so you have to subscribe to all of your friends
  39. 9:55 PM - TheMusiKid (Chuck Testa Cools): Even when Google Reader still had the share feature you still had to "Follow" whomever you wanted to receive updates from.
  40. 9:55 PM - TheMusiKid (Chuck Testa Cools): So it's basically the same idea.
  41. 9:56 PM - TheMusiKid (Chuck Testa Cools): Just not natively supported.
  42. 9:56 PM - TheMusiKid (Chuck Testa Cools): In that sense, anyway
  43. 9:56 PM - Matt: Ah...
  44. 9:56 PM - TheMusiKid (Chuck Testa Cools): Also, when you used to "Share" items in the old Google Reader, it'd create an RSS feed of that, too xD
  45. 9:56 PM - TheMusiKid (Chuck Testa Cools): lulz
  46. 9:57 PM - TheMusiKid (Chuck Testa Cools): update*
  47. 9:57 PM - TheMusiKid (Chuck Testa Cools): It's "created" when the account is made.
  48. 9:57 PM - TheMusiKid (Chuck Testa Cools): I have web space
  49. 9:57 PM - TheMusiKid (Chuck Testa Cools): A website, etc. (mc-mycraft.com)
  50. 9:58 PM - TheMusiKid (Chuck Testa Cools): Just not the proper know-how.
  51. 9:58 PM - Matt: Ok
  52. 9:58 PM - TheMusiKid (Chuck Testa Cools): Sorry to bug you, by the way
  53. 9:58 PM - Matt: Well first you probably need to figure out how to run a web server
  54. 9:59 PM - TheMusiKid (Chuck Testa Cools): Well I use BlueHost.
  55. 9:59 PM - Matt: You have to find some way to see when you get new emails
  56. 9:59 PM - TheMusiKid (Chuck Testa Cools): I'd rather not have to run anything from my home to make this work, but if I must...
  57. 10:00 PM - TheMusiKid (Chuck Testa Cools): IMAP or POP3 maybe?
  58. 10:00 PM - Matt: Well, you have to find some way to query it
  59. 10:00 PM - Matt: You can either find a way to run your own web server
  60. 10:01 PM - Matt: Or find a way to make a php/some script run every 15 mintues
  61. 10:01 PM - TheMusiKid (Chuck Testa Cools): CRON jobs maybe?
  62. 10:01 PM - Matt: If it can run a scheduled task
  63. 10:02 PM - TheMusiKid (Chuck Testa Cools): I mean, I'm fairly fluent in PHP scripting
  64. 10:02 PM - TheMusiKid (Chuck Testa Cools): But I don't know how to get that to run.
  65. 10:02 PM - TheMusiKid (Chuck Testa Cools): Without a user actually going to that page
  66. 10:03 PM - TheMusiKid (Chuck Testa Cools): But you understand what I'm trying to get at now, yes?
  67. 10:03 PM - Matt: Yeah
  68. 10:03 PM - Matt: But you're on your own for web dev :p
  69. 10:03 PM - TheMusiKid (Chuck Testa Cools): :>c
  70. 10:03 PM - Matt: You'll have to look at your host provider
  71. 10:03 PM - TheMusiKid (Chuck Testa Cools): >:c
  72. 10:03 PM - Matt: and see what they... provide :p
  73. 10:09 PM - TheMusiKid (Chuck Testa Cools): http://i.imgur.com/OWm1z.png
  74. 10:09 PM - Matt: Now look up Cron jobs
  75. 10:09 PM - Matt: and see how to execute a php file
  76. 10:09 PM - TheMusiKid (Chuck Testa Cools): Well
  77. 10:09 PM - TheMusiKid (Chuck Testa Cools): Just Linuz commands in general
  78. 10:10 PM - TheMusiKid (Chuck Testa Cools): That's what the CRON job does, is execute a Linux command.
  79. 10:10 PM - Matt: So can you make a script that runs on linux v:
  80. 10:12 PM - TheMusiKid (Chuck Testa Cools): php -q /home/serverpath/script/file.php
  81. 10:12 PM - TheMusiKid (Chuck Testa Cools): seems to be what I want
  82. 10:12 PM - Matt: Alright now you've got something that can check a script
  83. 10:13 PM - Matt: Now you have to find a way to check for new emails in php
  84. 10:13 PM - TheMusiKid (Chuck Testa Cools): Probably IMAP
  85.  
  86.  
Advertisement
Add Comment
Please, Sign In to add comment