dblp_db_community

Identify members of the database theory community using DBLP
git clone https://a3nm.net/git/dblp_db_community/
Log | Files | Refs

display.sh (851B)


      1 #!/bin/bash
      2 
      3 N=$(echo $1 | tr '_' ' ')
      4 N2=$(echo $1 | tr '_' ' ' | sed 's/ 0001//')
      5 echo -n "- $2 **$N2** "
      6 FILE="authors/$N.raw.xml"
      7 FILE2="authors/$N.page.xml"
      8 cd authors
      9 URL=$(../get_dblp_url "$N")
     10 cd ..
     11 echo -n "[[dblp]]($URL) "
     12 xmlstarlet sel -T -t -m '/dblpperson/person/url' -c '.' -n < "$FILE2" |
     13   grep -vE '^https?://(dl.acm.org|id.loc.gov|isni.org|viaf.org|www.genealogy.ams.org|www.andrej.com|awards.acm.org|www.acm.org|scholar.google.com|zbmath.org|www.scopus.com|d-nb.info|openlibrary.org|ethw.org|id.worldcat.org|www.idref.fr|www.twitter.com|www.researcherid.com|twitter.com|[a-z][a-z].linkedin.|www.ams.org|www.genealogy.math)' |
     14   sed 's_https://www.wikidata.org.*_[[wikidata]](&)_;s_https\?://en.wikipedia.org.*_[[wikipedia]](&)_;s_https://orcid.org.*_[[orcid]](&)_;s_^http.*_[[webpage]](&)_' |
     15   sort | tr '\n' ' ' | cat - <(echo)
     16