12 lines
251 B
Plaintext
12 lines
251 B
Plaintext
|
determine_protocol
|
||
|
get_domain
|
||
|
|
||
|
# user page
|
||
|
if [[ "$url" == *${domain}/@/* ]]
|
||
|
then
|
||
|
# Atom feed should be at domain/@/username/atom.xml
|
||
|
username=${url##*${domain}/@/}
|
||
|
username=${username%%/*}
|
||
|
url_ext="${protocol}${domain}/@/${username}/atom.xml"
|
||
|
fi
|