Support » Requests and Feedback » Blog to ezine feature?

  • First, I’ve been using WordPress for a few weeks now and really like it. Thanks!
    Is there a feature, or plugin, or something, that would allow me to convert a week’s worth of blog entries into an e-zine. IOW, registered users could opt in to an ezine lists and get a weekly blast with all the posts.

Viewing 10 replies - 1 through 10 (of 10 total)
  • We are working towards a simliar layout where we want the users to see a “current issue” article listing on a front page.
    Based on the simple idea that you can reassign the value of “$posts” from your own query before the loop, you can produce highly customized output. Zonble has also mentioned the use of a metadata tag for each article to identify issues. If your issues are simply date based, you can use a function to automatically calculate the current issue. Please note that the following code listing produces a “monthly issue”.
    function get_monthly() {
    global $wpdb, $tablepost2cat;
    global $m;
    $m = $_GET[‘m’];
    // Display last month issue by default
    if (empty($m)) $m = gmdate(‘Ym’, mktime(0, 0, 0, date(“m”)-1, date(“d”), date(“Y”)));
    $my_year = substr($m,0,4);
    $my_month = substr($m,4,2);
    $query = “SELECT DISTINCT * FROM $tableposts LEFT JOIN $tablepost2cat ON ($tableposts.ID = $tablepost2cat.post_id) WHERE (MONTH(post_date) = ‘$my_month’) AND (YEAR(post_date) = ‘$my_year’) AND (post_status = ‘publish’) ORDER BY category_id ASC”;
    $posts = $wpdb->get_results($query);
    $posts = apply_filters(‘the_posts’, $posts);
    return $posts;
    You can see the write up (in chinese) and code listing in CNWP , if you need any clarification let me know.

    Hmm, take note that the lines didn’t wrap in the above example.

    Thank you, that is very helpful. If I understand you properly, this allows me to generate a web page that displays all the posts in a given month (or other time period). What I’m really looking for is a function that allows me to email that information to all registered users.
    Maybe this is a request for a new feature in a later version.

    Greg, once you generated the page (with an alternate layout if you prefer) you can dump the html output and wrap that up with a mailing script, there should already be some built-in functions to do mass mailing, it might be beyond the scope of WordPress, (since RSS feeds has became the standard distribution mode). Otherwise you can consider putting it in cron.weekly or similar scheduling programs if you have on available.

    Dotann — Good thoughts. Thanks.

    wasn’t there a pdf export plugin. that can be a good alternate 🙂

    Sushubh — that sounds really cool. Where is that plugin?

    good if it gives u what u want 🙂



    is there a wpzine plugin in english? 🙂

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Blog to ezine feature?’ is closed to new replies.