CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
Pages: [1]

Author Topic: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?  (Read 2602 times)

vandit09

  • Guest
Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
July 01, 2008, 06:21:51 pm
This is to further integrate drupal (with its rss feeds) and with civimail newsletters. Is this possible? Or is there another way of doing it?

What i'm trying to achieve is to prevent from having two sets of the same content posted in our drupal site and re-create it for our newsletter. I just want to have it typed once, and have it automatically sent out for our newsletters.

Anyone? Thanks in advance.

- Gilbert

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
July 01, 2008, 07:49:02 pm
I sponsored a Drupal module for generating templated newsletters from nodes, though it hasn't yet been released on drupal.org :

http://uascoop.googlecode.com/svn/trunk/drupal/modules/ninjitsu_newsletter/

A forthcoming update will allow the generated newsletter to be used in CiviMail 2.1 .
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

vandit09

  • Guest
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
July 01, 2008, 08:01:58 pm
sweet, I'll give it a try. Thanks!

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailing
July 16, 2008, 09:11:15 am
Just to give a bit more info on this since I've been working on creating the patch that will integrate the ninjitsu module with CiviMail better.

You should be able to do what you want now with the ninjitsu module, or if you can't, it won't change that in the patch i'm writing for 2.1.

the ninjitsu module allows you to put drupal nodes into a newsletter that can go out in civimail. so if your xml/rss feed is within a drupal node, or you can figure a way to add one into the ninjitsu templates, then it will work well (and it will work now).

the patch i'm writing will just do one thing. instead of printing out the whole html/txt templates to a page and then copying and pasting them into the civimail template, it will instead just save them to the server and then redirect you directly into civimail with some GET params on the URL. Then lobo is adding to 2.1 to accept those params to them know where to pull the saved newsletters and load them up. you can follow that issue here: http://issues.civicrm.org/jira/browse/CRM-2873

hope that helps
emily

gma

  • Guest
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
August 24, 2009, 03:06:38 am
Hello,
Just wondering if the module has been updated for Drupal 6?

I notice that the issue is still open and likely to be part of CiviCRM V3. Is there any option for the current Civi release and Drupal 6?

We just got it working in D5 and it was great, now moved to D6 and hoping for a solution that allows us to gather nodes and send as an email newsletter.

Thanks,
gma.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
August 24, 2009, 05:24:20 am

have not heard about it recently, so i suspect not.

would be great for u'll to take the lead and do the upgrade

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?
September 10, 2009, 04:52:39 am
i started trying to upgrade the module but ran into issues with it. I sent an email to the original developer back in October of 08 with this in it:

I made a few small changes, but basically the 'generate' newsletters button doesn't return anything. Debugging this gave me a pretty big headache as I'm really not that familiar with this module and couldn't figure out exactly where the problem is. Nothing happens upon generation and it continues to say 'no main node set for newsletter'.

My goal was to get the original module working, then re-integrate where we had gotten with the CiviMail piece. I was going to make a separate button that says 'send newsletter to civimail' and the put in the functionality lobo and i wrote.

I'm attaching the module as it stands now (I am not able to attach it to this forum because it's too large in size. If anyone wants it, PM me with your email address and I will send it directly to you). You'll see that in the folder there is a ninjitsu_newsletter.civimodule file; that's where the d5 code was with CiviCRM  integration. But the 6 file that I started actively working on is the regular module file, and it would be good to get that working first!

Here are the only changes I made:
- updated the hook_menu calls to d6 as they weren't working/caching properly - while i was at it i renamed the settings page from ninjitsu_newsletter/admin/settings to admin/settings/ninjitsu newsletter (this link is now also on admin/by-module page)
- updated the help section to reflect those changes
- updated the node_load calls after using taxonomy_select_nodes as the node_load wasn't returning proper information. For example
ninjitsu_newsletter_get_issue_drop_down_data wasn't returning anything; changed $nnode = node_load($nnode) to $nnode = node_load($nnode->nid);
did the same for ninjitsu_newsletter_get_issue_nodes

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Is it possible to do auto inclusion of rss/xml feeds into newsletter mailings?

This forum was archived on 2017-11-26.