• I am normally a happy user of wordpress, and therefore it came across my mind to use the functionallity of it in a site that is is not embedded in wordpress. I would like to use BDP RSS Aggregator plugin and Feedlist by Rawlinson. This to plugin are calling aggregated feeds by the commands: <?php BDPRSS2::output(6); ?> and <?php feedList(“https://del.icio.us/rss/finalcut&#8221;); ?>

    Is there anybody out the who has a hint on how I can call thiese commands from outside the themes-folder, in other words from the root of the site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The page using it must be a .php page

    At the top of that page, include the file wp-blog-header.php and then you can use any wp function.
    So if you have /blog and you want it at root:
    <?php include (‘path/to/blog/wp-blog-header.php’); ?>
    should be at the top of the page.

    That make sense ?

    Thread Starter Knut

    (@knutrn)

    Actually I had the whole blog-machinery in the root, so i just put <?php include (‘wp-blog-header.php’); ?> on top of the page, and it works. Thank you very much for understanding and explaining undertandable, podz. You saved me alot of troubleshooting.

    Thread Starter Knut

    (@knutrn)

    By the way podz. You seem to be knowing something of PHP and HTML. Do you know a HTML-tag I can place around the PHP-tag for getting feeds, so that the links a disabled. Meaning, I would like to show the headlines but without the links. The reason for asking about this is, that I am interested in this for specific feeds, but not all – this is why I don’t want to disable the links in the PHP-coding. The overall reason for alle this, is that danish newspapers don’t alowe deeplinking.

    you’d have to output-buffer the plugins, then go in and strip out the [a href][/a] bits yourself. OR, modify the plugins to not output the links in the first place…

    btw, there are other aggregators (like my CG-FeedRead) that work just fine without dragging in any WP code whatsoever. that’s potentially a lot of overhead… YMMV.

    -d

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I want to use plugin outside wordpress’ is closed to new replies.