-
AuthorPosts
-
August 13, 2020 at 11:55 pm #7877zreneeParticipant
I’m working on this site. The bottom of the page I used super rss reader plugin.
http://www.shareyourlearningchina.com/communityI 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
August 14, 2020 at 5:42 pm #7888Aakash ChakravarthyKeymasterHi @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,
AakashAugust 17, 2020 at 11:04 pm #7900Aakash ChakravarthyKeymasterHi,
Did this help ?
August 18, 2020 at 9:12 pm #7901zreneeParticipantI decided to wait for someone to create a plugin for it now. Thanks for helping. If you created one, please let me know. Thanks.
August 18, 2020 at 9:58 pm #7902Aakash ChakravarthyKeymasterOk 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,
AakashNovember 10, 2020 at 11:58 pm #8360易子轩ParticipantI 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/1256947091Everything 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.
November 11, 2020 at 12:54 am #8361易子轩ParticipantAnd here are some other information that may be useful:
Github of the Rsshub project:
https://github.com/DIYgod/RSSHubthe Q&A document of RSShub:
https://docs.rsshub.app/en/faq.htmlNovember 11, 2020 at 1:00 am #8364Aakash ChakravarthyKeymasterHi,
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/403Please look at the errors in your browser console for more detailed information.
Thanks,
AakashNovember 11, 2020 at 11:28 am #8365易子轩ParticipantThank 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!
November 12, 2020 at 3:17 pm #8367易子轩ParticipantI 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!November 12, 2020 at 3:52 pm #8368Aakash ChakravarthyKeymasterCheers !
November 16, 2020 at 12:49 pm #8441 -
AuthorPosts
- You must be logged in to reply to this topic.