p-tags and backslash-n added to item descriptions of Feedland linkblog feeds

Open
#14 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
backend

Research direction

Reproduce the report with the example app at feeder.scripting.com/returnjson using the Feedland feed at data.feedland.org/feeds/davewiner.xml. Compare item descriptions from feeds that do and do not contain the added

tags and escaped newlines, then trace the reallysimple feed parsing path. Done means the parser returns consistent descriptions without unwanted markup or escape sequences.

Written by the indexing model from the issue text.

Description

When using reallysimple to display my Feedland linkblog feed, I noticed that <p> tags and \n were being added to the item descriptions. This doesn't happen in all feeds. Neither I nor AI could figure why (though I can easily strip them out just for linkblog feeds, so it's not holding me up).

Example: http://data.feedland.org/feeds/davewiner.xml, the first item's description does not include the tags

CleanShot 2024-10-20 at 10 42 21

The example app for reallysimple adds the tags https://feeder.scripting.com/returnjson?feedurl=http://data.feedland.org/feeds/davewiner.xml

CleanShot 2024-10-20 at 10 46 49

Dominant language
JavaScript
Stars
104
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/reallysimple

All issues in scripting/reallysimple

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.