
Code: Select all
"'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text);
Code: Select all
$text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(xml|php|rdf|rss|rss1|rss2|asp)))\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text);
Lucas1510 wrote: This should be (in) one line:
Code: Select all
$text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(xml|php|rdf|rss|rss1|rss2|asp)))\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text);
Code: Select all
$text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)(*))\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text);
Code: Select all
$text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)([^ \"\n\r\t<]*?(\.)[^ \"\n\r\t<]*?)\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text);
SpittingKitty wrote: I have two things going on that are problematic....
1. My bbc buttons no longer work for some reason
2. The RSS feeds aren't updating on the board. It will show the most current post when the feed is created using the rss bbcode, but if the LJ is updated, it isn't updating the feed.
Any ideas?