import datetime
import PyRSS2Gen
rss = PyRSS2Gen.RSS2(
title = "OP huy",
link = "https://2...content-available-to-author-only...h.hk/pr/res/827944.html",
description = "Coder roulette",
lastBuildDate = datetime.datetime.now(),
items = [
PyRSS2Gen.RSSItem(
title = "HangMan",
link = "https://2...content-available-to-author-only...h.hk/pr/res/827944.html",
description = "Hangman is a paper and pencil guessing game for two or more players."
" One player thinks of a word, phrase or sentence and the other tries"
" to guess it by suggesting letters or numbers, within a certain number of guesses.",
guid = PyRSS2Gen.Guid("https://i...content-available-to-author-only...e.com/jdKgKJ"),
pubDate = datetime.datetime(2016, 8, 30, 14, 55)),
PyRSS2Gen.RSSItem(
title = "RSS Feed Creator",
link = "https://2...content-available-to-author-only...h.hk/pr/res/827944.html",
description = "RSS Feed Creator generate news feed standart rss",
guid = PyRSS2Gen.Guid("https://i...content-available-to-author-only...e.com/blablabla"),
pubDate = datetime.datetime(2016, 9, 8, 14, 54)),
])
rss.write_xml(open("MyNewsFeed.xml", "w"))
aW1wb3J0IGRhdGV0aW1lCmltcG9ydCBQeVJTUzJHZW4KCnJzcyA9IFB5UlNTMkdlbi5SU1MyKAogICAgdGl0bGUgPSAiT1AgaHV5IiwKICAgIGxpbmsgPSAiaHR0cHM6Ly8yLi4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5oLmhrL3ByL3Jlcy84Mjc5NDQuaHRtbCIsCiAgICBkZXNjcmlwdGlvbiA9ICJDb2RlciByb3VsZXR0ZSIsCiAgICBsYXN0QnVpbGREYXRlID0gZGF0ZXRpbWUuZGF0ZXRpbWUubm93KCksCiAgICBpdGVtcyA9IFsKICAgICAgIFB5UlNTMkdlbi5SU1NJdGVtKAogICAgICAgICB0aXRsZSA9ICJIYW5nTWFuIiwKICAgICAgICAgbGluayA9ICJodHRwczovLzIuLi5jb250ZW50LWF2YWlsYWJsZS10by1hdXRob3Itb25seS4uLmguaGsvcHIvcmVzLzgyNzk0NC5odG1sIiwKICAgICAgICAgZG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