Something for RSS to Email notifications? Self-hosted

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,145
Reaction score
10,489
I have an RSS feed and I would like every time the feed updates to receive an email that it has updated. I don't care if I receive just an email informing me that the feed has updated, or an email that actually contains the update itself, it doesn't make a bit of difference. I just want to receive an email when the RSS feed contains new posts on it.

You may tell me to use IFTTT or Zapier. These work, but you don't get to specify how often IFTTT or Zapier will check the feed for new content. So when the feed updates, you may get the email from IFTTT or Zapier within the hour, within 5 hours, 10 hours, you have no control.

I am not looking for a desktop solution, because even though my lap tops are always running 24/7, I really don't need to be adding more programs to them to run at all times, I'm already pressed for computer power.

I have hosting with Hostgator where I could upload some script, and I can create a Cron job to run the script every X amount of time. But I looked through Github for RSS-to-Email projects, and many of them are like 8 and 5 years old... just old... and not much in terms of Wikis on those Github projects. Many of them are archived too.

Anyone knows of a solution to my problem? A script I can self-host that will check the feeds I specify every X amount of minutes (I will specify this too) and send me an email if it finds new content on the feeds.

It'd be nice if it's free. I don't think this is something very complicated, I just need a working solution. Even using a project from Github that's years old and lacks documentation I'm cool with, as long as I know it still works.

Thanks
 
very easy but do it your self , in php ...

everytime the rss is trigered , use php to email you .
 
very easy but do it your self , in php ...

everytime the rss is trigered , use php to email you .

I've dabbled in this before. On 2 of my websites, on the contact form, using PHP I set up an email to be sent to the person submitting the contact form, to the email they wrote in the Email section. Like a little autoresponder, acknowledging that we have received their message and will get back to them as soon as possible, etc.

But this is different. I wouldn't know how to do it. Even though I'm self-hosting the RSS Feeds. They're not like Feedburner feeds or anything like that, I'm self-hosting them. But I still wouldn't even know where to start in doing this myself.

Right now I use IFTTT and Blogtrotrr to get notified when the feeds have updates. One usually updates me sooner than the other, but none updates me at specific intervals, I often receive the notification email hours after the feed has had an update.

So I'm looking to self-host the solution, get away fro IFTTT and Blogtrottr, and have full control over how often the feeds are checked and I am notified of updates.
 
try to help you all done via a mobile phone sorry not at home.

this is a example but should help easly

$rss_post is the varable of the rss trigger name.


<?php

if (isset($_Post['rss_post'])) {


// rss code goes here!

//Email information
$admin_email = "[email protected]";
$subject="RSS RECEVED";
$comment="A RSS HAS BEEN SENT";
$email = $POST['email'];
$subject = $POST['subject'];
$comment = $POST['comment'];

//send email
mail($admin_email, "$subject", $comment, "From:" . $email);

}
?>
 
try to help you all done via a mobile phone sorry not at home.

this is a example but should help easly

$rss_post is the varable of the rss trigger name.


<?php

if (isset($_Post['rss_post'])) {


// rss code goes here!

//Email information
$admin_email = "[email protected]";
$subject="RSS RECEVED";
$comment="A RSS HAS BEEN SENT";
$email = $POST['email'];
$subject = $POST['subject'];
$comment = $POST['comment'];

//send email
mail($admin_email, "$subject", $comment, "From:" . $email);

}
?>

Thanks man but, I wouldn't know where to put that frankly.

I'm trying this out - https://github.com/e-dschungel/rssgoemail

I seem to have set it up correctly, but it doesn't seem to be working. I need about 30 more minutes to test it properly.

It says to "Create database using config/rssgoemail.sql." And in rssgoemail.sql file there's this:

7VA8HVQ


I created a database, like so:

PaEJVUg


Do you know if I did that correctly?

Edit: I will make a new thread and ask about this so more likely I get a reply from someone. Also this is now a new "topic" really. But if you know let me know please. Thanks :)
 
You need to import the database in PhpMyAdmin or whatever you use for db. It goes like: click on Import (or whatever is saying there) and then select /config/rssgoemail.sql from where you saved rssgoemail script.
 
You need to import the database in PhpMyAdmin or whatever you use for db. It goes like: click on Import (or whatever is saying there) and then select /config/rssgoemail.sql from where you saved rssgoemail script.

OMG, that's it. How could I have been so stupid :D

That's it, thank you so much.
 

I did bro. It works. But you don't get to define how often it checks the feed for new updates. So the feed gets updated, and you may get the email within the hour or within 10 hours. I mean if we're gonna be efficient we gotta have control.

That's why I want a solution I can self-host where I can use the cron to control how often the feed is checked for updates. I mean, I know it's doable too, and not too complicated, I just need to find a functional solution with my super noob coding/sql/bla skills :p
 
DONE! I SET IT UP SUCCESSFULLY! IT WORKS! So happy :D

Goodbye IFTTT, goodbye Blogtrottr, I'm self-hosting my own shit now. See ya, wouldn't wanna be ya :p

why-are-frogs-be-happy-meme.jpg
 
You know, it just goes to show. i asked on BHW and I didn't really get the answer I wanted.

Before I asked on BHW i went through about 20-30 different Github projects that are supposed to do RSS to Email. None of them felt right. Either too old, or too complicated, or just didn't feel right.

I continued searching on Youtube and Google and places. And you know where I found what ended up working? I got it through a Google search that led me to a Stackoverflow thread where somebody mentioned something back in 2012! Here - https://stackoverflow.com/questions...ailable-for-rss-to-email-instant-notification

The accepted answer there. And it has a link which leads to a dead page. When I clicked it and it led to a dead page I was disappointed. But then I read the comments below it. So this answer was posted in 2012. The first comment that said that the link is dead was made in 2014. And then the next comment came from the creator of this script, in 2016, and he also gave a working link.

I clicked on the link and it took me to the Github. I read the mission statement (or the description or whateve you wanna call it) there on the Github page, and it was EXACTLY what I was looking for. Simple. I checked the files and some have been updated even 6 years ago, but other were updated 5 months ago, which gave me the hint that this may still be working and updated. So I went trying to implement it, feeling about 50/50 on whether it would work or not. I gave it a shot anyway.

I fucked with it for quite some time. I made mistakes, I didn't know how to properly create the sql database (lol thanks @Larry Igna). I asked on the Github page about my problem (no reply yet). I set it up and it wasn't working. Eventually I stumbled upon the log and I saw some errors! According to the errors something was missing from the files I uploaded. But why would something be missing? It turns out, the download button on the Github page has some raw version which lacks a few files that are necessary for this to work. Some file related to composer and json or something or other. Well so then I searched a bit on the Github page and I found 2 more files for this script. One of them had the missing file! AHA! So I got it and uploaded it and tested it again. It worked!

That's how you fucking do it! :cool: I wish I knew how to sit on a beach drinking COCKtails :p and making passive internet moneys. Don't know how to do that. It's fucking war every day! But sometimes you figure shit out and it feels good :)

You gotta be resourceful man.
 
Okay. Last post. I wanna give a shoutout to a site.

Before I decided to self-host a solution for this, I was using IFTTT and Blogtrottr. They work, but updates happen whenever. So I went to find another site like these two that does the same thing but hopefully updates more frequently, or even better one that allows me to decide how I often I want my feeds checked for updates.

I found this site - https://feedrabbit.com/

I contacted them and asked:

"I was wondering, how often does Feedrabbit check for updates on any given feed?"

They replied fairly quickly and said:

"Feedrabbit polls every 60 minutes unless the feed specifies a shorter time-to-live value, in which case it uses that poll interval, if the poll interval is quicker than the default this will show up on the subscription details page.

Currently Feedrabbit doesn't implement the PubSubHubbub/WebSub protocol which provides push notifications of updates, it is on the roadmap but pretty low priority because not many feeds support the protocol.
"

Their reply was comprehensive and they responded quickly. You think IFTTT would reply quickly or helpfully to a problem you have? Yeah, maybe, probably not.

Anyway, these are good guys, so wanted to give them a shoutout. And also bring this thread/topic to an end. I'm done. All set. Byeee... :)
 
Back
Top