Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gpolit

    (@gpolit)

    Problem solved by logging into feedburner.

    selecting:

    – “My feeds” – selecting the appropriate feed
    – “Edit feed details”

    removing the “feed=rss2&” phrase

    p.e.: the previous syntax was the following

    http://blog/?feed=rss2&category_name=grants

    selecting “save”

    the go back to “Edit feed details”

    and give the correct syntax for this feed to work..

    http://blog/?feed=rss2&category_name=grants.

    Then I went back to my webpage, where this feed is displayed. The feed works fine again, as an embedded feed into html webpage!!

    Thanks.

    Thread Starter gpolit

    (@gpolit)

    Dear james, my question was the following.

    I have a blog in a subdomain p.e. blog.url.gr

    I want to embed an article from this subdomain blog, to a page in main domain website in root address

    p.e. http://www.url.gr/article.php

    I know how to do this if blog and website page is in the same domain

    here is the code

    <?php
    require('./blog/wp-blog-header.php');
    $wp->init();
    $wp->parse_request();
    $wp->query_posts();
    $wp->register_globals();
    ?>
    
                                <?php
     							$lastposts = get_posts('numberposts=4');
     							foreach($lastposts as $post) :
       							setup_postdata($post);
     							?>
                                <li><a rel="nofollow" href="#"><?php the_title(); ?></a></li>
       <?php endforeach; ?>

    I don’t know how to make this link if they are in separate domain, in our case subdomain.

    Thanks.

    Any help would be appreciated

Viewing 2 replies - 1 through 2 (of 2 total)