My Wikipedia code doesn't work properly
<p>I'm a total noob to Python, and for some (probably obvious) reason, my code won't work as I want. Here it is:</p>

<pre><code>import feedparser
import time

feed = feedparser.parse('https://en.wikipedia.org/w/index.php?title=Special:NewPages&amp;feed=rss')
latest = feed.entries[0].title
current = latest

print(current)

while True:
    latest = feed.entries[0].title
    if current != latest:
        current = latest
        print(current)
    time.sleep(5)
</code></pre>

<p>What it's meant to do is print every time the wikipedia RSS feed updates. However, it only ever prints out the latest once (presumable at the print statement before the while statement). Is this just a logic error?</p>