Unfortunately I have no idea after looking at the code
I know exactly what I want to do but just don't know how it should be coded.
I want to add any posts that have "Re :" + the same title as another post.
For example if a thread is named "Hello world" then the RSS feed gets another thread of "Re : Hello World" then it would be added to the same thread as a reply rather than posting it as a new post.