Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • zrenee
    Participant

    I’m working on this site. The bottom of the page I used super rss reader plugin.
    http://www.shareyourlearningchina.com/community

    I want it to achieve this effect from this page. https://www.shareyourlearning.org/community

    Twitter is banned in china, so I don’t have a choice but figure out how to add weibo feed on the website. But right now my site only can show texts. So I used gallery to display all weibo feed screenshots which is a lot of works.

    Can Super RSS Reader plugin to achieve the effect of this page? https://www.shareyourlearning.org/community

    I know that the plugin page stated that it will display thumbnail image if there is one. What if it’s like twitter, there is no thumbnail image, but contains images or videos. Can it display one image or video from the weibo post? Thanks.

    For example: Weibo Site is here http://www.weibo.com/zhuyongxin

    Hi @zrenee,

    This is beyond the scope of this plugin as it is a customization request.

    But I gave some try.

    You can use below CSS in your theme settings to display them in two columns.

    .srr-wrap div {
        flex-basis: 50%;
    }
    .srr-wrap > div {
        display: flex;
        flex-wrap: wrap;
    }

    Regarding the images, they are shown only when they are mentioned in a specific tag. So I guess in your case it is not mentioned that way. I do have plan to grab images wherever they are, but it may not be soon.

    Thanks,
    Aakash

    Hi,

    Did this help ?

    zrenee
    Participant

    I decided to wait for someone to create a plugin for it now. Thanks for helping. If you created one, please let me know. Thanks.

    Ok fine. For now with the above CSS you can have RSS feed in two columns. Only thing missing is the images.

    I’ll let you know when images will be displayed.

    I’ll mark this issue resolved for now.

    Thanks,
    Aakash

    易子轩
    Participant

    I also encountered this problem!

    I use the open source project RSShub to deploy an RSS generator on my server to generate RSS feeds for Weibo.

    For example, the Rss source generated from the Weibo site provided by zrenee:
    https://rss.sqkkyzx.cn/weibo/user/1256947091

    Everything works well on Super RSS Reader, except for pictures。All pictures are displayed as an icon and a 403 error is returned。

    I checked the Q&A document of RSShub:

    Q: Why are images not loading in some RSSHub routes?
    A: RSSHub fetches and respects the original image URLs from original sites, referrerpolicy=”no-referrer” attribute is added to all images to solve the issues caused by cross-domain requests. Third party RSS service providers such as Feedly and Inoreader, strip this attribute off which leads to cross-domain requests being blocked.

    According to its description, the problem I encountered may be related to the reader. I hope it can be resolved.

    Moreover, the original question of this post, “How to show images in the feed? Chinese twitter like site: weibo’s feed.”, can naturally be resolved.

    易子轩
    Participant

    And here are some other information that may be useful:

    Github of the Rsshub project:
    https://github.com/DIYgod/RSSHub

    the Q&A document of RSShub:
    https://docs.rsshub.app/en/faq.html

    Hi,

    Can you please press ctrl+shift+i in chrome and see the details error message.

    Since you say error code is 403 it means it is “forbidden” it is possible that weibo is not allowing to hotlink the image from another website ?
    https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

    Please look at the errors in your browser console for more detailed information.

    Thanks,
    Aakash

    易子轩
    Participant

    Thank you so much for your quick reply!

    the details error message:
    Failed to load resource: the server responded with a status of 403 ()

    “weibo is not allowing to hotlink the image from another website”,You are right.

    But I think that the content written by the Rsshub developer in the Q&A document is to declare that they have solved this problem, but because some RSS readers ignore the attribute (referrerpolicy=”no-referrer”), it still cannot be loaded correctly.

    I don’t understand the principle of RSS, but I want to know if this attribute can be correctly identified as he said, can cross-domain images be displayed?

    I tried to troubleshoot the cause of the error:

    If the attribute does not have the effect he said, I will try to submit an issue to the RSShub developer.
    If the attribute does have this effect as he said, but my source cannot be displayed, I will try to repair my generator parameter configuration in my server.

    Thank you so much for your quick reply!

    易子轩
    Participant

    I found a solution by reading the RSShub documentation. It seems that I need to reconfigure my generator and it has nothing to do with the reader.
    Thank you again for your support and reply!

    Cheers !

    易子轩
    Participant

    Hi, @zrenee

    After my test, now I can use Weibo RSS to push correctly, the thumbnails, text content and image content can be displayed correctly.

    If you need help, you can reply to me here.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.

Subscribe for updates

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter