Generic XML (and RSS) Support
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 54
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Currently, scraper doesn't work very with normal XML documents, specifically - RSS.
There's a few ways to solve this.
-
The included CSS selector engine (https://github.com/PuerkitoBio/goquery) doesn't parse XML properly it seems. We could modify the HTML to make it conform. OR
-
Each configured path could have a
mode, where:htmlimpliesselectoris a CSS selector (and is the defaultmode)xmlimpliesselectoris an XPATH selector (eww) ORxmlimpliesselectoris a new format:foo bar, simply traverses into<foo>then into<bar>ORxmlremoves all other settings, and simply converts XML into JSON directly (this is probably the easiest)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by inspecting the scraper's current HTML parsing and configured-path handling, then review the linked goquery behavior for XML and RSS input. Done should mean normal XML documents, specifically RSS, are supported through a clearly chosen approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100