Web sources set command

What is the best way to fetch per example year and put it in another tag per example albumsort?
i put this in a web source but only appear %year% and not the number, as the Year is already ouputto. maybe there is simple way. i am just asking.
i put this at the end of the file.

# albumsort
Set "Albumsort" "%year%"
outputto "Albumsort"

The answer i got from another forum, from user seanap is this:

#set "Albumsort"
outputto "Albumsort"
Sayoutput "Year"
sayoutput "series"
say " "
sayoutput "series-part"
say " - "
sayoutput "album"

the answer was the "SayOutput".