• Hi,
    I use CG-feedreader to bring my blogs content to a separate page on my website, I was wondering if there is a way to keep the formatting intact? If not with that program, any others?

    It currently all appears in one big paragraph instead of being formatted nicely.

    Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • One of the parameters is to allow HTML content. If you don’t allow HTML content, you’ll get one big block most likely.

    However, in no case will your RSS feed duplicate the entire composition of your original posts. It’s a slimmed down formatting of the content…

    Let me know if that didn’t point you in a (better) direction. ??

    -d

    Im also having a problem, I keep getting the following error:

    Fatal error: Call to undefined function xml_parser_create() in /home/.nasya/workingbath/workingbath.com/wp-content/plugins/cg-plugins/XMLParser.php on line 550

    And I setup the php like so:

    <?php
    $feedUrl = “https://rpc.blogrolling.com/rss.php?r=c26bd328bb1dd5002c4638df8373d166&#8221;;
    $feedOut = getSomeFeed($feedUrl, 50, false, “blogrolled”, ”, -1, -1, 0);
    if ($feedOut)
    echo $feedOut;
    ?>

    I would also like to point out that this was working exactly as-is until I decided to delete some of my (maybe no so) unused MySQL databases.

    xml_parser_create is part of the standard XML library for PHP. if somehow you don’t have that library built/installed, you’d get that error. upgrading PHP versions has been seen to cause issues like this (i.e., a new PHP5 install might not have the library installed by default…).

    -d

    Thread Starter gmeagle86

    (@gmeagle86)

    Hi, sorry for the long delay in getting back to you….

    My problem is, I am going to be giving control of this website over to someone who knows nothing about HTML coding, and they are just going to be able to update the blog…I was wondering if there is a better option to display it properly…

    gmeagle: Did you turn on the allow-html option? and are you pulling from a feed that provides the rich-text content? (probably rss2 or atom)

    idbehold: looking back on your issue, it sounds more like an upgrade of php but the xml libraries weren’t installed with the upgrade.

    Thread Starter gmeagle86

    (@gmeagle86)

    This might be a dumb question, but I can’t find it anywhere….where do I turn the allow-html option on?

    from the doc:

    function getSomeFeed($InUrl, $maxItemsPerFeed, $showDetails, $cacheName, $filterCat='',
    $tLimit = -1, $dLimit = -1, $noHTML = true,
    $showTime = false, $feedStyle = false, $noTitle = false,
    $showTimeGMT = false, $titleImages = false, $multiSiteTitle=true,
    $makeRSS=false, $rssName="CG-FeedRead Multifeed", $rssLink="https://www.chait.net/")

    so you want something like:

    getSomeFeed($url, $count, true, 'my-feed', '', -1, -1, false);

    to get full HTML bodies. Note this STILL won’t be identical to a themed page in your site. If that’s what you are looking for, you need to read up on “The Loop” around here — someone’s probably shown an example of displaying recent posts from your blog up one level… it’s just way more complex. ??

    -d

    Thread Starter gmeagle86

    (@gmeagle86)

    Ok, I think I got it working…one more question:

    How do I tell it to only show the most recent X number of posts?

    Thanks!

    Thread Starter gmeagle86

    (@gmeagle86)

    Is this it?
    if ($maxTotal<0 || $maxTotal>36) // arbitrary cutoff…
    $maxTotal = 36; // you need more than 3 dozen items????
    if ($maxItemsPerFeed<0 || $maxItemsPerFeed>100) // arbitrary cutoff…
    $maxItemsPerFeed = 100;

    Thread Starter gmeagle86

    (@gmeagle86)

    So if I only changed the 36 down to 10, it would only show the last 10 posts?


    getSomeFeed($url, 10, true, 'my-feed', '', -1, -1, false);

    will get you your last 10 posts. $count was a placeholder in the previous example.

    -d

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Feedreader Question’ is closed to new replies.