Im currently using a cffeed tag to pull content from a Wordpress RSS feed. When i output #content# I should be receiving numerous paragraphs worth of text. However, its only outputting a short blurp followed by a "read more link". How Do I display all the text I'm pulling from the RSS feed?
Below is my code for pulling the RSS feed and displaying content.
<cfset rssUrl = "https://chasbroucktest.wordpress.com/feed/">
<cffeed action="read" source="#rssUrl#" query="entries" properties="info">
<cfdump var="#entries#">
<cfoutput query="entries">
<p>#content#</p><br/>
</cfoutput>
I assume that chasbroucktest.wordpress.com is not your own site?
If it is then first steps would be to check your feed settings in the wp-admin menu;
Options -> Reading
Under "Syndication Feeds", be sure you've selected "Full Text."
If its not then perhaps you could use a service such as feedburner to drag the full article from the source.
Related
I have a blog and I would like to send out a daily email with all the new blog posts.
I am using a custom HTML email template. It is hosted on a webpage.
I have an automation to pull the HTML from my URL every day at 2PM.
I would like to pull in the RSS feed and plug it into my HTML automatically.
This way, as soon as a new blog is updated, the email is updated. When the daily email goes out, it has all of the content posted in the past 24 hours.
Other Notes: I am using mail chimp for now (free sending) until we grow and switch to Paramount.
Pulling in HTML via URL
Would like to include the featured image from the blog if possible. The image will be 1200x629 from the blog. It is a large file size, but I can re-scale via height="" etc...
Yes, Mailchimp has a template for this. It doesn't look very good though. The format they use really doesn't pop teh way I want it to.
I have a wordpress site and link Mailchimp to the RSS feed. Sometimes Mailchimp sends an email with the correct heading but "No RSS items found." for the body, despite there being text in the RSS feed.
Has anyone else had this issue or know of a solution?
If the URL is the same for your RSS campaign and your FEEDBLOCK, try switching to the RSSITEMS merge tags instead. From what I can see and from speaking with MailChimp support, this should avoid the issue by not having MailChimp do a separate request for the feed which might timeout and cause the error.
Of course if there is a performance issue with fetching the RSS feed the campaign may not send at all some days, but at least you should avoid the ugly "no rss items found" error.
Sometimes the reason you get "No RSS items found" in your Mailchimp feed (even though it's a valid feed) is because a special character has slipped in there when the story title or text has been copied from a word doc etc. - e.g. special quote marks like ยจ instead of ". Just go to the post and change the special character to the standard one by typing over it manually from your keyboard, and then your feed should be working again in no time.
To answer your question, the reason why you are getting "No RSS items found." is because you correctly tagged the heading with |RSSITEM| though when it comes to body you are using |FEEBLOCKS| hence the error.
For you to receive title, text and link you need to change FEEDBLOCKS to RSSITEMS. Below is a working example for mail-chimp design template that you can use or edit to include what you want displayed.
*|RSS:POSTS|*
You might also be interested in our previous posts below
*|RSS:RECENT|*
Sharing is Loving
*|RSSITEM:SHARE:Twitter,Facebook,Linkedin,Pinterest,WhatsApp|*
*|END:RSSITEMS|*
See how mail-chimp displays the above code https://us20.campaign-archive.com/?u=61cb8c2e1dff4b3d3c746c04c&id=29046da882
I like giving my users the full text RSS feed, but I also have a few sites which pull the RSS feed and link to us from it. They want me to provide the excerpt/blurbs for the articles rather than the full text. Can anyone give me some direction on how to make this happen?
It should be possible. Wordpress has multiple feed types (see WordPress Feeds) and there are hooks for each feed type (see Feed Actions API). This suggests that you should be able to set up one feed type as a partial feed, and another as a full-text feed. Basically, you'd just be re-writing one of these feed types to ignore the setting you indicated on the "Reading Settings" admin screen.
I bet this could be done w/ a pretty simple plug-in.
I have 2 custom fields in my WordPress system when creating new posts. One is called homethumb (is the title of an image) and another called description.
I would like to edit the RSS feed so it shows the image and the description rather than the complete post.
But I don't know how to do this. I would like to fetch that RSS with simple pie to integrate it on another website (sort of auto-submit system).
You also have
do_action('rss_item')
that runs in the loop for every item in the RSS feed.
Hook in to that and output anything extra you need in to the feed item.
To show the excerpt instead of the entire article, go to "reading" in Settings section of your admin menu and half way through the options there's a setting to use excerpts instead of full text.
No plugins required. Just a little custom programming.
Custom fields for Feeds Wordpress plugin
This puts images or videos into your feeds through the use of custom
fields. You can alter the custom field Keys and what is displayed.
Update 11/27/2015: The plugin is old, but the site says it still works
I found some tutorials on how to add things to your rss reader, so I fixed this.
it's in french -> http://www.webinventif.fr/wordpress-ajouter-du-contenu-dans-son-flux/
Here is another option if you want to display anything other than images and videos in your feed: http://wordpress.org/extend/plugins/rss-custom-fields/
All of your custom fields will now be displayed in your feed.
Further options to be able to select which custom fields display in a feed will be available in subsequent releases of the plugin!
I'm working on some RSS feeds for a custom task system we have. The main feed will show a list of tasks assigned to the current user. The link attribute for each task returned points to the web page for that task. However, tasks themselves have an RSS feed for updates, and I want to be able to provide a link for that RSS feed with the main feed as well. How can I do both?
The solution I'm thinking of right now is setting the article's title attribute to include an <a href="..." link to the actual article, and the it's link attribute to be a link to the feed (or vice versa). However, I'm not sure that will work well since most readers display the title as linking to the link (if that makes any sense to you).
Also, is this something that's supported natively by atom?
Make the content of each item in the original RSS feed HTML. (I believe you'll have to CDATA escape the block). Within this content put a hyperlink to the updates feed RSS.
Why not add it to the entry summary as links?