Forum Replies Created
-
AuthorPosts
-
November 16, 2020 at 12:49 pm in reply to: How to show images in the feed? Chinese twitter like site: weibo’s feed. #8441易子轩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.
易子轩ParticipantCheers! It looks like you can delete this item from your todolist! XD
易子轩ParticipantOf course, I believe that everyone uses their own native language as much as possible.
So as you said, the translation function is beyond the plugin. At least I don’t need translation function.
However, I use Chinese, and the RSS feed is completely Chinese. At this time, I checked the date display function and found that it displays the year and date in Arabic numerals, but it displays the month in English words.
So I think there may be something wrong with this.
That’s why I suggested that using Arabic numerals. This may be an easier solution to adapt to different languages.
易子轩ParticipantVery much agree! I need this too.
But in fact, obviously there is no need to add support for every language.
Just use Arabic numerals, you provide us with the variables of yy, mm, dd, and let us add the remaining characters and formats.Or, you can use yyyy-mm-dd or other internationally accepted expressions without any vocabulary by default, so that everyone can understand even if their native languages are different
November 12, 2020 at 3:17 pm in reply to: How to show images in the feed? Chinese twitter like site: weibo’s feed. #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 11, 2020 at 11:28 am in reply to: How to show images in the feed? Chinese twitter like site: weibo’s feed. #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 11, 2020 at 12:54 am in reply to: How to show images in the feed? Chinese twitter like site: weibo’s feed. #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 10, 2020 at 11:58 pm in reply to: How to show images in the feed? Chinese twitter like site: weibo’s feed. #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.
-
AuthorPosts