aoout / obsidian-rss-copyist

Get the RSS articles as notes.
MIT License
27 stars 0 forks source link

{{item.content}} doesn't get the entire content #4

Open PWDSerialgamer07 opened 7 months ago

PWDSerialgamer07 commented 7 months ago

Let's say in my rss feed, the latest article contains all of this:

Update (02/17/24): hotfix for a campaign music volume issue, an infinite credits exploit, and a other few minor issues. Full list of changes here; please re-download the game using the links below.
Update (02/13/24): hotfix for a post-battle crash if you have made a deal with a pirate station king.
Update (02/12/24): another hotfix with some fine-tuning of the colony crises, and a number of bugfixes.
Update (02/08/24): a hotfix with some fine-tuning of the colony crises difficulty (generally reducing it), an improvement to escort AI, and a number of bugfixes.

The note created would only contain:

Update (02/17/24): hotfix for a campaign music volume issue, an infinite credits exploit, and a other few minor issues. Full list of changes here; please re-download the game using the links below. Update (02/13/24): hotfix for a post-battle crash if you have made a deal with a pirate station king. Update (02/12/24): another hotfix with […]

And doesn't contain the new lines like in the original article

PWDSerialgamer07 commented 7 months ago

This is my template:

---
feed: "{{item.feed}}"
url: "{{item.link}}"
author: "{{item.author}}"
date: "{{item.pubDate}}"
unread: true
---
{{item.content}}
aoout commented 7 months ago

please tell me the rss link.

PWDSerialgamer07 commented 7 months ago

https://morss.it/https://fractalsoftworks.com/feed/

PWDSerialgamer07 commented 7 months ago

Other example of the problem:

aoout commented 7 months ago

I don't understand "RSS feed by morss". It is not in the format of an xml document.

WetHat commented 5 months ago

@aoout A style sheet transform is applied to the feed when requested via a web browser. To get the raw XML you could use this this Powershell command:

PS> Invoke-WebRequest -UseBasicParsing -Uri https://morss.it/https://fractalsoftworks.com/feed/ -ContentType 'text/xml' -OutFile f.rss