WordPress.org

Ready to get started?Download WordPress

Forums

Featured Images in RSS w/ Size and Position
[resolved] RSS feed not working on external site (7 posts)

  1. csunderland
    Member
    Posted 1 month ago #

    I am attempting to showcase the following RSS feed from my WP site onto an external site.
    I can get the feed to show, but when I add desc=1 , I get the following function

    (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));

    If I remove the desc, then it will showcase the title of the post for the feed.

    Any help is appreciated!

    Here is the feed:
    <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.hardwareretailing.com%2Fcategory%2Flatest-news%2Ffeed&num=10&utf=y&desc=1" charset="UTF-8" type="text/javascript"></script>

    <noscript>
    View RSS feed
    </noscript>

    https://wordpress.org/plugins/featured-images-for-rss-feeds/

  2. Rob Marlbrough
    Member
    Plugin Author

    Posted 1 month ago #

    Hi there,

    The plugin is adding images ok, that's all it does. The rest of the feed is from WordPress itself, and the feed2js site is outputting it as javascript, which probably has it's own issues, and looks like a Facebook javascript issue, I'd recommend contacting the feedjs.org folks for support on that.

  3. csunderland
    Member
    Posted 1 month ago #

    See results when attempting this RSS feed;

    <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.hardwareretailing.com%2Fcategory%2Flatest-news%2Ffeed&chan=y&num=10&utf=y" charset="UTF-8" type="text/javascript"></script>

    There seems to be a Facebook function showing up (before the content BUT after the title of the post. I can get the title to show, but when I offer "desc=1" I get the following:

    SPONSORED: Pricing in Today’s Retail Sphere
    (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); Zone pricing at the big boxes continues to be one of the biggest challenges for independent retailers in terms of determining a profitable pricing strategy that will work for their stores. The motivations behind why the big boxes are opting for zone pricing are fairly simple. For one, as the industry’s larger chains find themselves under greater pressure to deliver profits for shareholders, they struggle with not being able to raise prices across the spectrum because of the huge effect it could have on their overall price images. Advances in POS and pricing technology have allowed them to deploy a less conspicuous approach at the market level and use a variety of factors to strategically raise or lower individual item prices based on what the markets will bear. Another motivation behind the switch is likely tied to pressure created by price comparison software. Today’s consumers can simply pop a product into Google or an app made specifically for price shopping such as Red Laser and have immediate access to comparable prices from vendors both local and national. “For independent retailers like you, this means that now, more than ever, is the time to take a closer look at pricing models and establish a pricing strategy that ensures your operation is not only price competitive but that you aren’t missing out on your margin enhancement opportunities,” says John Dillon, vice president, pricing at Orgill. While the big boxes have a lot in their favor regarding pricing including volume, infrastructure and technology, there several strategies independent retailers can use to their advantage. Utilizing a variable pricing model from your distributor is an essential key to creating a successful price image. It would be next to impossible to gather the real-time data of pricing of every item in your inventory, but most distributors have done a majority of this legwork for you. Many distributors promote variable pricing models can get a retailer nearly 70 percent of the way toward its pricing strategy.

    5 Tips for Better Management
    (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); Good news: Here’s a simple process, five easy steps, to improve your business. It’s easy to do. And, if you’re not doing something like this already, then this simple addition to your process offers you substantial business improvement. To read more, click here.

    ANY thoughts??

  4. csunderland
    Member
    Posted 1 month ago #

    I do not want the rss feed to bring in images (which it never has). This issue continues no matter what 'feed' creator I use.
    I have tried deactivating ALL plugins, I continue to get the issue.

    Can you direct me to where this function/var would be located??

    Thanks

  5. Rob Marlbrough
    Member
    Plugin Author

    Posted 1 month ago #

    Not sure, I'd suspect the theme itself then. Replace it with a default theme, see if it goes away.

    This plugin only adds images.

  6. csunderland
    Member
    Posted 3 weeks ago #

    Still unable to locate the source:
    This is what I am showing on the feed when I add settings; desc=150

    Home Improvement Manufacturers Share Positive Sentiments
    (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); The American Hardware Manufacturers Association’s AHMA Home Improvement Industry Confidence Index’s Current Situation Index improved in June to 337.5 from 320.8 in May. Manufacturers also indicate plans to invest in mobile devices and confirm the importance of a strong

    The code below is showing part portions of this "function" within the URL-feed:
    http://www.hardwareretailing.com/category/latest-news/feed/

    <content:encoded>
    <![CDATA[
    <img width="161" height="143" src="http://www.hardwareretailing.com/wp-content/uploads/2014/07/AhmaLogo.jpg" class="attachment-medium wp-post-image" alt="AhmaLogo" style="display: block; margin: auto; margin-bottom: 5px;" /> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <p><img class="alignnone size-full wp-image-7430" src="http://www.hardwareretailing.com/wp-content/uploads/2014/07/AhmaLogo.jpg" alt="AhmaLogo" width="161" height="143" /></p> <p>The American Hardware Manufacturers Association’s AHMA Home Improvement Industry Confidence Index’s Current Situation Index improved in June to 337.5 from 320.8 in May. Manufacturers also indicate plans to invest in mobile devices and confirm the importance of a strong housing segment.</p> <p>In comparing current sales levels to year-ago levels, 81 percent of respondents said sales were higher in June versus year-ago levels, up from 77 percent in May. For June, 19 percent reported sales were even, and zero percent said sales were below year-ago levels.</p> <p>Looking forward six months, 57 percent of June respondents said they expect sales to be above current levels, down from 81 percent in May. In June, 38 percent of respondents said they expect sales to be even in six months and 5 percent expect sales to be below current levels.</p> <p>Looking forward one year, 67 percent of respondents project sales will be higher, down from 73 percent who felt that way in May. In addition, 24 percent of June respondents project sales will be even one year from now and 10 percent project sales will be below current levels.</p> <p> </p>
    ]]>
    </content:encoded>

    I am still needing to figure out why I am unable to get "descriptions" to show without getting this "function" to show up.

    Regards,
    Chris

  7. Rob Marlbrough
    Member
    Plugin Author

    Posted 3 weeks ago #

    Rename the plugins folder, see if it goes away. If not, rename the plugins folder back, and rename the themes folder, see if that helps.

    It's coming from either a plugin or a theme...

Reply

You must log in to post.

About this Plugin

About this Topic