I'm trying to use the Simple RSS Feed Reader to integrate Tumblr with my website. I need to do some formatting on the output though.
I can do the RegEx no issue. I basically need to capture everything after the last colon in the header and delete it, and then replace any newline or carriage return character in the body of the text with a space rather than a simple deletion.
I just don't know anything about Joomla, or the module. Can someone help me out?
I don't get exactly which part you want to modify, but in PHP you can use the explode function to split a string into an array based on a separator. Then you can remove the last entry of the array and then use implode to join again the rest array parts into a string.
Regarding the replace , in PHP you can use the str_replace function.
In order to have your changes untouched after future updates of the module it is recommended that you create a template override for the module and apply your changes there.