dblp_db_community

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

get_dblp_url (248B)


      1 #!/bin/bash
      2 
      3 URL=$(xmlstarlet sel -T -t -m "/result/hits/hit/info[author='$1']" -c url -n < "$1.raw.xml" | head -1)
      4 if  [[ -z "$URL" ]]
      5 then
      6   URL=$(xmlstarlet sel -T -t -m /result/hits/hit/info/url -c . -n < "$1.raw.xml" | head -1)
      7 fi
      8 echo "$URL"