idno / known

A social publishing platform.
https://withknown.com/opensource
Other
1.06k stars 194 forks source link

A page of of tags should be published as an h-feed #2340

Open jgmac1106 opened 5 years ago

jgmac1106 commented 5 years ago

Many people who follow my site like to follow specific tags. Currently they do this using RSS.

Be nice if any page like: https://quickthoughts.jgregorymcverry.com/tag/IndieWeb

Could parse an h-feed: http://pin13.net/mf2/?url=https%3A%2F%2Fquickthoughts.jgregorymcverry.com%2Ftag%2FIndieWeb

johanbove commented 5 years ago

I think I can manage this one. Should be a matter of adding the h-feed class name to a container HTML tag.

johanbove commented 5 years ago

If I understand the specificiation of h-feed correctly, than the homepage should have a container with the class h-feed in any case. See https://indieweb.org/h-feed

johanbove commented 5 years ago

An implementation of this idea can be tested on my site: http://pin13.net/mf2/?url=https://social.johanbove.info/tag/Indieweb An h-feed class name is added to the <html> tag and the <title> tag gets the className p-name. Additionally I've added the current tag in the <title> value. @jgmac1106 Is this what you had in mind?

jgmac1106 commented 5 years ago

Yes, this is exactly it. Any view, tag, or query should have an h-feed.

On Tue, Oct 1, 2019 at 6:38 PM Johan Bové notifications@github.com wrote:

An implementation of this idea can be tested on my site: http://pin13.net/mf2/?url=https://social.johanbove.info/tag/Indieweb An h-feed class name is added to the tag and the tag gets the className p-name. Additionally I've added the current <em>tag</em> in the</p> <title> value. @jgmac1106 <https://github.com/jgmac1106> Is this what you had in mind? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/idno/known/issues/2340?email_source=notifications&email_token=ACQL5JWCL5AU4DGD2OMHNLLQMPGNJA5CNFSM4GWMVID2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAC7JOY#issuecomment-537261243>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACQL5JUUASEEPZUHW7AJSPTQMPGNJANCNFSM4GWMVIDQ> . </blockquote> <p>-- J. Gregory McVerry, PhD Assistant Professor Southern Connecticut State University twitter: jgmac1106</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/johanbove"><img src="https://avatars.githubusercontent.com/u/922765?v=4" />johanbove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Thanks for the reply @jgmac1106 Then I'll need to make changes to my #2536 as it currently only adds the <code>h-feed</code> class name to "tag" related views.</p> <blockquote> <p>Yes, this is exactly it. Any view, tag, or query should have an h-feed.</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/johanbove"><img src="https://avatars.githubusercontent.com/u/922765?v=4" />johanbove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>I've updated PR #2536 ; So now all "list" views will get an "h-feed" class name and the "title" tag gets the class name "p-name". Can somebody please review the PR? Thanks!</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>