harlam357 / hfm-net

Client Monitoring Application for Folding@Home
34 stars 6 forks source link

PROJECT column in summary.html could be a link #322

Open TunaErtemalp opened 4 years ago

TunaErtemalp commented 4 years ago

It seems the project ID could be a link to the project, like https://stats.foldingathome.org/project?p=11741.

JeffBail commented 4 years ago

Maybe it would also be possible to scrape the "cause" field from the URL and show that as well. Your example didn't have it set for some reason but for example https://stats.foldingathome.org/project?p=16434 could parse out "Cause: covid-19". These days it would be good to know that my little farm is all in on COVID!

harlam357 commented 4 years ago

I'm open to adding a link. I don't find those pages so useful, but I can believe others do.

Note that this url is given in the Project section of the slot specific html page but it is not a link. This section actually used to house the full project description many years ago. I was scraping those pages and the FAH team didn't like that, so I will not go back to doing so. As things have moved along over that time this field is now always a url, so a link would be good here as well.

I would be happy to surface "Cause" if it were available to me in the project summary json. I can certainly forward that request on to the FAH developers. https://assign1.foldingathome.org/api/project/summary

image