[wp-hackers] the_content ignoring more
computerguru at neosmart.net
Thu Oct 5 16:28:16 GMT 2006
That's also in the code:
In "function NST_CheckRSS()"
$content = apply_filters('the_content', $content);
That will do everything that needs to be done :)
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com [mailto:wp-hackers-
> bounces at lists.automattic.com] On Behalf Of Elliotte Harold
> Sent: Thursday, October 05, 2006 7:22 PM
> To: wp-hackers at lists.automattic.com
> Subject: Re: [wp-hackers] the_content ignoring more
> Computer Guru wrote:
> >> See the function get_the_content() to see where $more is
> > I've implemented the same function without the presence of the more
> > expansion code...
> > It's in my CompleteRSS plugin, you can get it here:
> > http://neosmart.net/dl.php?id=2
> > The source
> > le=htt
> > mplete
> > RSS_0.2.phps) is moderately commented, it's the section
> > "NST_get_the_content" and it's original WP "get_the_content" but
> > without the splitting code (notice how slim it gets!!)
> Thanks. This seems to work. However, it returns the unformatted
> content, straight out of the database. Now what do I do if I want to
> format the content as HTML in the feed? For instance, turning blank
> lines into paragraph breaks and so forth.
> That is, I want to apply the same formatting WordPress does to the raw
> story text before sending it to the browser but in my feed.
> Elliotte Rusty Harold elharo at metalab.unc.edu
> Java I/O 2nd Edition Just Published!
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers