Create an automatic sitemap #377
레이블
레이블 없음
bug
build
cgi Scripting
design
disruptive
documentation
duplicate
easy
feature-request
help wanted
javascript
priority/low
question
system-hackers
tagging
text
translations
wait/bugfix
wait/inprogress
wait/misc
wait/proofread
wontfix
xsl
마일스톤 없음
담당자 없음
참여자 1명
알림
마감일
마감일이 설정되지 않았습니다.
의존성
No dependencies set.
Reference: FSFE/fsfe-website#377
불러오는 중...
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For SEO it could be beneficial to create a live sitemap of the pages on fsfe.org. The only downside I could think of is that some pages are then accessible which we don't want to have indexed yet, e.g. unreleased news or pages which are just archived.
The principle would be rather easy:
find . -type f -iname "*\.en\.xhtml" | grep -v '^./internal\|^./news\|^./error' | sort
. This could be extended by excluding news and newsletter which are not released yet according to their releasedate. Also, we could check for files which do not exist in English but only another language.git log --pretty="%cd" --date=short -1 $file
xhtml
tohtml
For translations, this could look like:I'm not sure how to get the lastmod attribute in the alternate link, or whether language-specific sitemaps would make more sense.
If someone would have time to create such a script, I can try to include it in the actual build system.