EDIT: I don’t think I put this in the right forum.
Hey all,
I’ve been using FeedX for a while now (thanks your help about a year ago

) and now I’ve got a new question.
I have FeedX loading an RSS feed to my website. Each item in the feed is it’s own list item:
<ul>
<li>Feed item 1</li>
<li>Feed item 2</li>
<li>Feed item loonnnngggggggggggggggggggggggggggggggg
ggg and ugly wrappingggggggg</li>
<li>Feed item 4</li>
<li>Feed item 5</li>
Some of these list item entries are long and they wrap to the next line (see above)
This interrupts the flow of the list and looks pretty ugly.
What would be the best way of trimming the list items so they look like:
<ul>
<li>Feed item 1</li>
<li>Feed item 2</li>
<li>Feed item loonnnnggggggggggggggggggggggggggg...more</li>
<li>Feed item 4</li>
<li>Feed item 5</li>
</ul>
I’m thinking PHP would be the easiest way. (Maybe PHx somehow?)
The regular expression that matches the text between <li> and </li> is: (?<= ).+?(?= </a></li>)
I think the solution will be something like:
$result = preg_replace(’%(?<= ).+?(?= </a></li>)%’, ’
somevariablehere’, $subject);
Any help would be most appreciated