Language fissato

main
Uriel Fanelli 2025-05-04 04:10:06 +02:00
parent e8a52f9c59
commit 4c04f48d25
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ var (
podRights = os.Getenv("PODCAST_COPYRIGHT") // Es: "Il Mio Podcast"
podLogo = os.Getenv("PODCAST_LOGO") // Es: "Il Mio Podcast"
podDesc = os.Getenv("PODCAST_DESCRIPTION") // Es: "Il Mio Podcast"
podLang = os.Getenv("PODCAST_LANGUAGE") // Es: "Il Mio Podcast"
)
func init() {
@ -36,6 +37,7 @@ func init() {
{"PODCAST_COPYRIGHT", podRights},
{"PODCAST_LOGO", podLogo},
{"PODCAST_DESCRIPTION", podDesc},
{"PODCAST_LANGUAGE", podLang},
} {
if v.value == "" {
log.Fatalf("Variabile d'ambiente mancante: %s", v.name)

View File

@ -31,6 +31,7 @@ func generateRSS() error {
// 2. Aggiungi metadati globali
p.IAuthor = podAuthor
p.AddImage(podLogo)
p.Language = podLang
for _, ep := range episodes {