Before you ask please READ THIS

RSS Feed for FLIPBOARD

edited March 2013 in Hypershot Posts: 4
Hello again,

About the RSS feed display content update you made, everything works fine for readers like Feedly, but almost working for Flipboard. In fact, the (image) content is not displaying for Flipboard, only the title and text is displayed.

I found the complete protocole made by Flipboard http://flipboard.com/rss-feed

I want to know if you can tell me (show me) what I have to do exactly to figured out this.

Thanks again!

Best

Comments

  • AirAir
    edited March 2013 Posts: 10,970
    Hi:-)

    Well I don't quite know much about RSS, I don't even use them personally so we just adjusted what our users suggested. I can tell you where is RSS code filter, it is in hypershot/advance/utilities.php line ~904:
    /**
     * ADDING THUMBNAIL TO RSS
     */
    if(!function_exists('a13_rss_post_thumbnail')){
        function a13_rss_post_thumbnail($content) {
            global $post;
            if(has_post_thumbnail($post->ID)) {
                $content = '<p>' . get_the_post_thumbnail($post->ID, 'medium') .
                    '</p>' . get_the_excerpt();
            }
            else
                $content = get_the_excerpt();
    
            return $content;
        }
    I think image should be displayed in Flipboard, as we send standard HTML here(maybe it is just hidden by them), but maybe if anyone would go into documentation you linked, we will find something that is needed to show images.

    Edit: I gave code from our new theme;-) Fixed now

    With regards.
    Post edited by Air on
  • Yes, I've seen your update in line 1178 wich excellent for all other RSS Readers ;-)

    I understand what you mean about this tweak investigation, I hope that someone else will be helpfull to find out what can we do precisly to optimize this.

    Thanks for your response ;-)

    Best.
  • AirAir
    Posts: 10,970
    I have quickly scanned through this documentation and maybe putting image in figure tag will fix it like their example
    <figure>
      <img src="disco-stu.jpg" width="400" height="300"
          data-fl-original-src="disco-stu-original.jpg">
      <figcaption>Disco Stu</figcaption>
    </figure>
    You can try it if you have access to live preview on Flipboard :-)

    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!