As a first project, i'm trying to make a simple Remember the milk reader (i know there is one already, but i'm trying to make my own as an exercise).
I'm using the Webparser plugin to parse my RTM atom feed in order to display 5 tasks. My regex is like this :
Code: Select all
RegExp="(?siU)<title type="html">.*</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>"
Code: Select all
RegExp="(?siU)<title type="html">.*</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>.*<title type="html">(.*)</title>(.*<title type="html">(.*)</title>)?"
I tried to look at the source of the existing RTM reader but i didn't understand how the regex worked.
Any help would be greatly appreciated, i awfully need to get things done