Posted on: 01/06/03 12:10pm
By: Anonymous (mrlynn)
I've created a Plugin that lets you to turn your geeklog site into a monthly newsletter.
It consists of:
- an additional column in the stories table: issue_id
- a new table: gl_issues
- a block that lists the stories that are for "this month's issue
- a block with a dropdown that let's you select a previous (or future issue)
- a modification to the main index.php that restricts the stories displayed to those that are for the selected or current issue only.
- a modification to the storyeditor to permit assignment of a story to an issue.
Each Issue works like a static page in that it contains "content" that is displayed as the frontpage.
Only one Issue can be active at any given time - the admin part of the plugin enforces this by displabling ALL issues before enabling one.
I've just finished the coding and testing and I'm going live with it tomorrow. If all goes well, I'll be further modifying it to ensure that my code changes are completely modular and in sync with the geeklog gods' coding style.
I'm wondering how much interest there may be in this type of plugin - I'll guage my packaging effort on responses.
As always - thanks to the creators of geeklog!
Mike
Monthly Newsletter Plugin
Posted on: 01/06/03 08:32pm
By: keystone
I'm interested and look forward to seeing it in action!
Monthly Newsletter Plugin
Posted on: 01/06/03 09:48pm
By: isol8
very cool feature I'd definitely use.
Monthly Newsletter Plugin
Posted on: 01/07/03 10:40am
By: etegration
worth giving it a try if it's launched.---http://www.etegration.com
http://itcow.etegration.com
Monthly Newsletter Plugin
Posted on: 01/07/03 10:59am
By: Creator
I'm interested as well!---L. Whitworth
www.finiserv.com
A word of advice
Posted on: 01/07/03 02:04pm
By: Tony
I would remove the issue_id from the story table. Plugin developers should not get in the habit of modifying the default DB schema as that could lead to incompatibilities with future versions of Geeklog.
Instead, I would create an associative table called issue_stories that has nothing more than a story ID and an issue ID. This is good for a number of reasons: 1) you don't modify the story table ;-) 2) searches on this new table will be faster than full table scans on the stories table.
My guess is that fixing this shouldn't be too much work and I would recommend you do that *before* releasing a production ready version (in fact, personally won't install it without that change...just my preference).---The reason people blame things on previous generations is that there's only one other choice.
Monthly Newsletter Plugin
Posted on: 01/07/03 02:35pm
By: Anonymous (Anonymous)
add me to the list =)
Monthly Newsletter Plugin
Posted on: 01/07/03 07:44pm
By: Anonymous (Anonymous)
What happens to the old newsletters?
Do they go into an archive?
Where can we see this?
A word of advice
Posted on: 01/07/03 08:54pm
By: efarmboy
I would suggest all plugin or block developers refer to the Plugin Developers Guide.
This best practice is documented in the section
How to get Started: A Development Overview.
Many other best practices and examples are provided. I don't know if this add-on uses the Geeklog Plugin API and supports the min Plugin Requirements or not.
I'd be more then willing to assist if there is any questions.
Cheers,
Blaine
Monthly Newsletter Plugin
Posted on: 01/07/03 09:43pm
By: Anonymous (mrlynn)
The "older" monthly issues remain in the database and are viewable from the "Newsletter Issues" block (this is a block that consists of a single drop down populated from the issues table).
All stories are still viewable from the Topics menu... but only those stories that belong to the "current" newsletter issue will show on the front page (or subsequent pages of the frontpage). So for example, when I click on the General News Topic from the Topics menu, I get a listing of All Stories in that Topic - the storyblock template is modified to include Issue so that you can tell which issue each story is from.
A word of advice
Posted on: 01/07/03 09:45pm
By: Anonymous (mrlynn)
Excellent suggestion. I plan on implementing this before packaging v1.0.
I'll also take a closer look at the API docs.
Thanks for the input/feedback.
Mike
A word of advice
Posted on: 01/08/03 02:58pm
By: Anonymous (mrlynn)
Question: I've had to add things to the themes to support the new plugin: fields on the story editor for selecting the issue id.
If the plugin is going to be truely optional, how do I control the display of these fields in the theme?
Should I make a theme specifically for this plugin? Should I make a patch for specific plugins?
A word of advice
Posted on: 01/09/03 09:56am
By: Anonymous (Anonymous)
A separate many--to-many table has the added practical advantage that a story can be included in more than one issue.
Monthly Newsletter Plugin
Posted on: 01/09/03 09:57am
By: Tony
Might be worth jotting down the requirements and posting them here. I'm sure you'll get good feedback.
--Tony---The reason people blame things on previous generations is that there's only one other choice.
Monthly Newsletter Plugin
Posted on: 01/09/03 02:47pm
By: Anonymous (mrlynn)
Here is a rough outline of the requirements I worked from to create the plugin:
The overall project objective was to create a monthly newsletter for my department (Linux/Unix Architecture and Engineering).
- Newsletter (NL)should be distributed via email but available on our intranet. (I created an admin hack that allows me to mail an entire issue in HTML format to a specified list of BCC recipients.)
- Primary content for NL should be technical articles and news events.
- NL should be published Monthly and Archives of the prior months articles should be available online.
- Each month the NL should have a different front page that addresses the general scope of this month's set of articles.
- Readers should be able to leave comments / feedback on the articles in the NL. Readers should NOT be required to login or even create an account. (I accomplished this by simply removing the User Login and Password from the main display.)
- Only one issue can be active at any given time. (to accomplish this, I simply change the status column for all issue table entries to 0 before changing a selected newsletter status to active (or 1))
- Articles may be submitted by readers but should be prepared in coordination with the editor (me) and should not be accepted and displayed on NL without moderation.
- Main page of NL should display a list of the articles specific to the current month's issue. (I created a block to accomplish this.)
- Main page of NL should offer readers the capability of accessing prior month's issues.
- Readers should be able to search for text in articles across issues
Screenshots
Feedback welcomed.
Monthly Newsletter Plugin
Posted on: 01/09/03 07:41pm
By: Anonymous (Anonymous)
Wow, this is exaclty what I am looking for.
Is the Email hack part of the plugin? This would be great!
Monthly Newsletter Plugin
Posted on: 01/11/03 05:51am
By: Anonymous (Anonymous)
Very interested!..
Good luck!
Monthly Newsletter Plugin
Posted on: 01/26/03 10:34pm
By: Anonymous (Anonymous)
What is the status of this plugin?
Monthly Newsletter Plugin
Posted on: 01/30/03 08:37pm
By: Anonymous (Anonymous)
It's still in messy, non-standard form. I've been swamped with the other part of my job. I should free up in Feb and have time to clean it up and distribute it. Sorry for the delay.
Monthly Newsletter Plugin
Posted on: 01/31/03 10:41am
By: alinford
No problem. Let me know if you need any beta help when you start working on it.
Monthly Newsletter Plugin
Posted on: 01/31/03 11:19am
By: alinford
This post talks about bdefore's college newspaper site he put up:
http://www.geeklog.net/article.php?story=20021115123531355
He has done a couple of things that either you are also doing, or maybe want to do. His is a hack rather than a plugin, so upgrading will not be easy, but it looks good.
The dropdown for choosing an author is nice, and the list of issues is good as well.
Just thought you may want to take a look at it.
Monthly Newsletter Plugin
Posted on: 05/02/03 11:01am
By: qgil
Any news about this (very useful) plugin?
I suppose the fact of being "monthly" is irrelevant. I mean, I assume the publishing and all is manual so it could be weekly or follow another rythms (no joke: the newsletter of my organization is released every full moon).
Monthly Newsletter Plugin
Posted on: 05/02/05 04:44pm
By: Anonymous (ckofer)
Here it is 2 years later, is there a plugin like this one?