WordPress.org

Forums

Problems with custom RSS feed (2 posts)

  1. rsspanic
    Member
    Posted 5 years ago #

    Hi all..

    I am trying to create a temporary RSS feed to export all of my data from one website to another (don't ask...ASP/SQL DB to PHP wordpress Site) anyway, I thought I got the hang of it with an example from the internet and our regular site RSS Feed, which works fine. It is generated by our site ASP scripting from our SQL Server database. The problem is, our regular RSS feed only sends the title and teaser of each post. I want to now send also the entire body of each post (about 150 text lines each) HTML and all. When I try to add this field, and register the new RSS feed with my RSS reader (Feedreader) to test things, two things happen:
    The teaser disappears
    The body of the posts appear, but... most seriously, less records are sent to the RSS than I specify. If I define to grab 6 records with the ASP database, it only gives 3. Whatever I define, it only gives 3. In the regular RSS feed, it gives exactly the number of records I define the ASP code to give.

    Here is my modified RSS code

    [Code moderated as per the Forum Rules. Please use the pastebin]

    (I didn't know how else to add a custom field that has 150-200 lines of text, I tried many options, sending it through the author name, etc).

    Please help............!
    With much gratitude....

  2. rsspanic
    Member
    Posted 5 years ago #

    The code pasted with Pastebin:
    http://wordpress.pastebin.com/s5GEihuX

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.