Jump to content

majake

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by majake

  1. Hi Robin, Thanks for the info. I hadn't actually wasn't aware of the existing RSS feed and I'm not sure where it resides. What I'm really trying to do is syndicate new blog posts to Twitter automatically with a link back to the full post. On Wordpress I can do this with IFTTT and use the RSS feed as the trigger channel, but the existing RSS feed isn't formatted for syndication and doesn't have an attribution link back to the main post. Any ideas for a better way to achieve the end goal?
  2. I'm not actually sure where the header/footer data resides. I don't have a main.php... The RSS template file was copied directly from this thread: <?php // retrieve the RSS module $rss = $modules->get("MarkupRSS"); // configure the feed. see the actual module file for more optional config options. $rss->title = "Latest updates"; $rss->description = "The most recent pages updated on my site"; // find the pages you want to appear in the feed. // this can be any group of pages returned by $pages->find() or $page->children(), etc. $items = $pages->find("limit=10, sort=-modified"); // send the output of the RSS feed, and you are done $rss->render($items);
  3. Hi Robin, thanks for the reply, this was my theory, but I do not have the disable automatic append checkbox in the template files tab. I've also looked at the config file and there are no append lines. Where else would you look?
  4. I've taken over a site from a developer and it's on processwire. I'm trying to activate RSS and I've followed the instructions but I keep getting this error: error on line 1 at column 1866: xmlParseEntityRef: no name I think maybe it's appending a header or footer and causing problems, but there is no checkbox in "files" so I'm not sure if that's the case. I used the exact code that's on the forum. From what I've read it might have to do with the "delayed loading" or _init.php file, but I can't identify the issue. Any help would be very much appreciated. The URL is: http://www.roofcoonline.com/rss/
×
×
  • Create New...