Simplified Navigation of Microsoft Q&A Tags By Popularity

Unlike StackOverflow's convenient Filter/Search feature on the Tags page, which allows users to quickly jump to tags of their choice, Microsoft Q&A currently lacks such functionality. 

At the time of writing there were 423 active Tags

As someone interested in specific Microsoft Q&A tags to follow, paging through approximately 13 pages of tags seemed cumbersome and time-consuming.

To address this issue, I discovered a PowerShell script by MotoX80 that fetches the complete Tag list from Microsoft Q&A. I then adapted this script to generate the necessary HTML code to create hyperlinks. With this single web page, users can easily navigate and explore Microsoft Q&A Tags by Popularity directly - Check it out!

Here is the modified PowerShell code I used to create hyperlinks for the Tags:

1..15 | foreach {
$page = Invoke-WebRequest "https://learn.microsoft.com/en-us/answers/tags/?orderBy=Popular&page=$($_)"
$page.AllElements | Where-Object -Property Class -eq 'card-title' | ForEach-Object {
"<li><a href=`"https://learn.microsoft.com$($_.href)`" target=`"_blank`">$($_.innerText)</a></li>"
}
}
view raw Tags hosted with ❤ by GitHub

Comments

Popular posts from this blog

The Mercurial Grok AI Assistant Understands & Speaks Indian Languages

Things Near Me – Find & Learn About Landmarks Nearby