Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct node link #66

Closed
wants to merge 12 commits into from
Closed

Correct node link #66

wants to merge 12 commits into from

Conversation

btrem
Copy link
Contributor

@btrem btrem commented Dec 14, 2022

No description provided.

btrem added 12 commits December 5, 2022 09:29
Fixes indentation.
Normalizes spacing between elements.
Replaces right quotation mark with apostrophe contractions.
While quotation marks must be escaped in some places,
e.g., in attribute values, they are allowed in
html content.
For the json example, no escaping is needed,
and using direct characters makes reading
the source easier.
Like the previous commit.
This commit replaces escape quotation marks
with the real thing, making the code more
readable.
Replaces link from glenjones/.. to microformats/...
Copy link
Member

@gRegorLove gRegorLove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem correct. This links the Node library button to this repo. AFAIK https://github.com/glennjones/microformat-node is still the correct repo for the Node library?

@gRegorLove
Copy link
Member

Could you also update the node.microformats.io website link to https: https://node.microformats.io/

@btrem
Copy link
Contributor Author

btrem commented Dec 15, 2022

A link from the website to itself? Did you mean a link from https://microformats.io to https://node.microformats.io/? (And not a link from node .microformats.io....)

<form action="https://ruby.microformats.io/microformats" accept-charset="UTF-8" method="get" class="form -inline mt-3 mb-3">
<input name="utf8" type="hidden" value="✓">
<p>Production ready parsers are available for: <a href="https://go.microformats.io">Go</a>, <a
href="http://node.microformats.io">Node</a>, <a href="https://php.microformats.io">PHP</a>, <a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this link https?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gRegorLove since the status of this PR can't be resolved until microformats/microformats-parser-website-node#4 is resolved, I've created a separate PR to fix links: #69.

@@ -261,7 +261,7 @@ <h2>Parser Libraries</h2>
</div>
<div class="col-4 col-sm-2 language language-node">
<a class="btn btn-secondary btn-sm" href="http://node.microformats.io">Website</a>
<a class="btn btn-secondary btn-sm" href="https://github.com/glennjones/microformat-node">Library</a>
<a class="btn btn-secondary btn-sm" href="https://github.com/microformats/microformats.io">Library</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to double-check this. AFAIK https://github.com/glennjones/microformat-node is the correct link to the Node library. This change here is linking "Library" to the microformats.io library, which is not correct.

@gRegorLove
Copy link
Member

No, this repository, microformats.io. Added inline comments above.

@btrem
Copy link
Contributor Author

btrem commented Dec 15, 2022

Regarding #66 (review)

There are (as I learned today) two mf node parser libraries:

There was a request in the chat to change the link from the first to the second. That second is a Typescript parser. I don't know if they are different. Or which one should be on the site. I understood the chat to be a request to change it.

The conversation about this is in the chat archives, starting at 17:10 on 2022-12-14

Maybe I was wrong.

@btrem
Copy link
Contributor Author

btrem commented Dec 15, 2022

Yes, I can change the link to https.

@gRegorLove
Copy link
Member

From the yarn.lock, it appears to be glennjones/microformat-node.

@btrem
Copy link
Contributor Author

btrem commented Dec 15, 2022

Well then something was misunderstood. Maybe the chat meant change the node website parser to use the Typescript parser, then change the link.

@gRegorLove
Copy link
Member

Resolution will depend on microformats/microformats-parser-website-node#4

@btrem btrem marked this pull request as draft December 16, 2022 20:50
@btrem
Copy link
Contributor Author

btrem commented Dec 16, 2022

@gRegorLove I converted this to draft. I suspect it will be at least a bit of time before any change to the node website is made. And as I mentioned yesterday, PR #69 corrects the links (not just the one you pointed out; there were many http; links to the mf wiki that should be https:).

@btrem btrem mentioned this pull request Dec 22, 2022
@btrem btrem closed this Jan 7, 2023
@btrem btrem deleted the correct_node_link branch January 7, 2023 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants