remy / wm

webmention check service
https://webmention.app
101 stars 17 forks source link

Error with https://www.unwoundstack.com #48

Open sp1ff opened 2 years ago

sp1ff commented 2 years ago

URL: https://www.unwoundstack.com Status: 200 Error: Unexpected close tag Line: 12 Column: 7 Char: >

What the heck does that mean? There's an unexpected close tag... somewhere? In which document? What request did you send to produce that document?

aciccarello commented 1 year ago

That's certainly a confusing error without context of which document.

Running the npm package didn't show any errors. But also didn't output the endpoint for the indieweb.org link.

$ npx @remy/webmention https://www.unwoundstack.com/index.html --debug
limit = 10
send = false
Fetching https://www.unwoundstack.com/index.html
Content is HTML
entries = 2
mentions = 18
URLs to check: 15
endpoints = 15
skipping https://github.com/sp1ff/scribbu
skipping https://github.com/skeeto/elfeed
skipping https://github.com/sp1ff/elfeed-score/
skipping https://github.com/melpa/melpa/
skipping https://github.com/sp1ff/pin
skipping https://github.com/sp1ff/damerau-levenshtein
skipping https://github.com/sp1ff/mpdpopm
skipping https://github.com/sp1ff/elmpd
skipping https://github.com/sp1ff/mpdmacs
skipping https://validator.w3.org/check?uri=referer
URLs to check: 2
endpoints = 17
skipping https://validator.w3.org/check?uri=referer
endpoints-resolved = 1 {"source":"https://linux.die.net/man/3/libmagic"}
endpoints-resolved = 2 {"source":"https://pinboard.in"}
endpoints-resolved = 3 {"source":"https://indieweb.org/IndieWeb","endpoint":{"url":"https://webmention.io/indiewebcamp/webmention","type":"webmention"}}
endpoints-resolved = 4 {"source":"https://www.gnu.org/software/guile/"}
aciccarello commented 1 year ago

Interesting, this seemed to run correctly on my local fork. I'm surprised the published package didn't output an error if something broke.

$ node ./bin/wm.js https://www.unwoundstack.com/index.html --debug --limit=10
limit = 10
send = false
Fetching https://www.unwoundstack.com/index.html
Content is HTML
entries = 2
mentions = 18
URLs to check: 15
endpoints = 15
skipping https://github.com/sp1ff/scribbu
skipping https://github.com/skeeto/elfeed
skipping https://github.com/sp1ff/elfeed-score/
skipping https://github.com/melpa/melpa/
skipping https://github.com/sp1ff/pin
skipping https://github.com/sp1ff/damerau-levenshtein
skipping https://github.com/sp1ff/mpdpopm
skipping https://github.com/sp1ff/elmpd
skipping https://github.com/sp1ff/mpdmacs
skipping https://validator.w3.org/check?uri=referer
URLs to check: 2
endpoints = 17
skipping https://validator.w3.org/check?uri=referer
endpoints-resolved = 1 {"source":"https://pinboard.in"}
endpoints-resolved = 2 {"source":"https://linux.die.net/man/3/libmagic"}
endpoints-resolved = 3 {"source":"https://www.gnu.org/software/guile/"}
endpoints-resolved = 4 {"source":"https://indieweb.org/IndieWeb","endpoint":{"url":"https://webmention.io/indiewebcamp/webmention","type":"webmention"}}
endpoints-resolved = 5 {"source":"http://unwoundstack.local/blog","endpoint":null}
endpoints-resolved = 6 {"source":"http://unwoundstack.local/blog","endpoint":null}
Webmention endpoint found: [{"url":"https://indieweb.org/IndieWeb","source":"https://indieweb.org/IndieWeb","endpoint":{"url":"https://webmention.io/indiewebcamp/webmention","type":"webmention"}}]
source = https://www.unwoundstack.com/
target = https://indieweb.org/IndieWeb
endpoint = https://webmention.io/indiewebcamp/webmention (webmention)