MAILARCHIV-7: Add Joomla Developer News Feed



Issue Information

Issue Type: New Feature
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: Mailarchives (MAILARCHIV)
Resolution: Done (2017-06-22 23:35:34)
Labels: Joomla,

Created: 2017-06-05 09:13:50
Time Spent Working
Estimated:
 
60 minutes
Remaining:
 
60 minutes
Logged:
 
0 minutes


Description
The Joomla Developer news feed often includes pre-announcements of upcoming releases (via announcement's of RC's etc) so would be a useful resource to have.

However, unlike the other Joomla feeds, it's not provided via FeedBurner, so can't simply set up email notifications on new items. Will need to knock together a cronjob to parse the feed, detect new items and email a copy of the item in.


Issue Links

Joomla Developer News RSS Feed
Joomla Developer News Mirror (Mailarchives)
Toggle State Changes

Activity


Repo: Py_email_on_rss_change
Host:Rimmer

commit f618af99f3189e4cb006f61ae88e2b1f0d4eb183
Author: B Tasker <github@<Domain Hidden>>
Date: Mon Jun 5 09:19:55 2017 +0100

Commit Message: Initial implementation for MAILARCHIV-7

* Consumes a (currently hardcoded) RSS feed
* Iterates over the contents and builds a HTML email using the contents

Doesn't currently track any kind of state, so items will be re-emailed whenever the feed is parsed.

Email format is:

Subject: [entry title]

[entry title] (with hyperlink to [link])
[author]
[date]

[content]

[link]

py_email_on_rss_change.py | 53 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)


View Commit | View Changes
Been a bit sidetracked lately, will see if I can knock out the remaining changes now.
Repo: Py_email_on_rss_change
Host:Rimmer

commit d5e02311e89c5589c341bf0c4ac511658d39e33d
Author: B Tasker <github@<Domain Hidden>>
Date: Thu Jun 22 23:05:04 2017 +0100

Commit Message: MAILARCHIV-7 Send email whenever update observed on Joomla Developer News

This is a fairly simplistic and hurried implementation, but should be fairly trivial to adjust to have it support being configured for multiple feeds.

py_email_on_rss_change.py | 40 +++++++++++++++++++++++++++++++++-------
1 files changed, 33 insertions(+), 7 deletions(-)


View Commit | View Changes
Have configured the script to run every 20 minutes on VPS, and have configured the mirror grabber to grab the resulting mails.

This months archive will contain some historic items as the feed doesn't see a huge amount of activity, so even with only 5 entries it goes back until April
Repo: Py_email_on_rss_change
Host:Rimmer

commit f4a25a2e9ddb18868c55de7ab0c12b0a10a6d41c
Author: B Tasker <github@<Domain Hidden>>
Date: Thu Jun 22 23:30:43 2017 +0100

Commit Message: MAILARCHIV-7 Make a few tweaks to entry tracking

- Adjusts to ensure that we don't accidentally end up re-sending mails as a result of overwriting the hash when we shouldn't have.
- Also force the mail date to be the published date from the feed

py_email_on_rss_change.py | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)


View Commit | View Changes
btasker changed status from 'Open' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'