oops should've probably updated the sitedomain variable

This commit is contained in:
askiiart 2024-08-25 11:53:36 -05:00
parent c1dcebb98c
commit b836b1003c
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
2 changed files with 10 additions and 13 deletions

View file

@ -4,7 +4,7 @@
# Taken from here and modified: https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/ # Taken from here and modified: https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/
# (https://web.archive.org/web/20231202193251/https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/) (https://archive.ph/qtdMP) # (https://web.archive.org/web/20231202193251/https://www.lostsaloon.com/technology/how-to-create-an-xml-sitemap-using-wget-and-shell-script/) (https://archive.ph/qtdMP)
sitedomain=https://tccdcode.club/ sitedomain=https://askiiart.net/
dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
wget --spider --recursive --level=inf --output-file=$dir/linklist.txt $sitedomain wget --spider --recursive --level=inf --output-file=$dir/linklist.txt $sitedomain
# greps for the relevant lines, gets the URLs, gets only the lines for $sitedomain, and sorts them # greps for the relevant lines, gets the URLs, gets only the lines for $sitedomain, and sorts them

View file

@ -1,14 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url><loc>https://tccdcode.club/</loc></url> <url><loc>https://askiiart.net/blog/</loc></url>
<url><loc>https://tccdcode.club/calendar.html</loc></url> <url><loc>https://askiiart.net/blog/300.html</loc></url>
<url><loc>https://tccdcode.club/flyer.html</loc></url> <url><loc>https://askiiart.net/blog/foooooonts.html</loc></url>
<url><loc>https://tccdcode.club/index.html</loc></url> <url><loc>https://askiiart.net/blog/marlin-boot-animations.html</loc></url>
<url><loc>https://tccdcode.club/phone-directory.html</loc></url> <url><loc>https://askiiart.net/blog/new-pgp-key.html</loc></url>
<url><loc>https://tccdcode.club/profiles/</loc></url> <url><loc>https://askiiart.net/repos/</loc></url>
<url><loc>https://tccdcode.club/profiles/event-director.html</loc></url> <url><loc>https://askiiart.net/til/</loc></url>
<url><loc>https://tccdcode.club/profiles/president.html</loc></url> <url><loc>https://askiiart.net/til/akkoma-in-docker.html</loc></url>
<url><loc>https://tccdcode.club/profiles/senate.html</loc></url> <url><loc>https://askiiart.net/til/using-json-with-docker-compose.html</loc></url>
<url><loc>https://tccdcode.club/profiles/social-director.html</loc></url>
<url><loc>https://tccdcode.club/profiles/vice-president.html</loc></url>
<url><loc>https://tccdcode.club/resources.html</loc></url>
</urlset> </urlset>