• Hello,

    I’m sorry for this very basic question, but I’ve been reading for hours and am still not quiet sure what I’m doing wrong, and to be honest not exactly sure what direction to head.

    I want to view my wordpress updates on my homepage ( https://www.tomtomgoodiesnow.com) I’ve been testing and playing with it just trying to figure out how to do it. The page right now is an html page, and it seems it needs to be a php page, so i’ve added /testtest.php and got the header of my blog to show just on a blank template, but I don’t want the header to show rather just the posts. The code I used for that was:

    <?php
    define('WP_USE_THEMES', false);
    require('./wordpress/wp-blog-header.php');
    get_header();
    ?>
      <tr>
        <td><!--#include virtual="/magicrssforblogs.php?max=5&url=feed://tomtomgoodiesnow.com/wordpress/?feed=rss2" --></td>
      </tr>
      <tr>
        <td><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?><?php endwhile; else: ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <p>
      <?php endif; ?>

    So my question is, am I headed the right direction? Do I need to be trying to use RSS? If so how do I do that?

    I’m sorry I’m sure similar questions have been asked but I couldn’t find anything that answered the question.

    Thank you for your time and any help!

    Jon Yetter

Viewing 3 replies - 1 through 3 (of 3 total)
  • Could you describe exactly what you’re trying to achieve by all of this? Your newest posts should automatically appear on your home page if you’ve set the front page to display your posts via Admin/Settings/Reading.

    Thread Starter jonyetter

    (@jonyetter)

    Hey! Thanks for the reply.

    What i want to happen, is have my updates shown on my homepage and have people be able to post there comments about my blog on there as well (www.tomtomgoodiesnow.com)

    Currently under my reading settings i have

    Blog Page Show at most: 10
    Syndicated Feeds show at most: 10
    For each in the feed show: Full tex
    Encoding: UFT-8

    https://tomtomgoodiesnow.com/indextest.php

    if possible I don’t want that blue header, just my posts.

    <html>
    <head>
    <title>TomTom Goodies | Home</title>
    <meta name="description" content="TomTom Goodies is a free Fresno and Clovis candy service  ." />
    <meta name="keywords" content="Fresno Snack Service, Clovis Snack Service, Candy Machine Fresno, Free candy Fresno, Vending machine Fresno, goodies, Quarter machines, 25 cent machines, $0.25, bulk candy machines, snack supplier, candy supplier, goodies supplier,National Children's Cancer Society, m&m, m&m peanuts, Red hots, Boston bake beans, Runts, mike n ikes, reeses pieces, skittles, central valley" />
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
    <link href="style.css" rel="stylesheet" type="text/css"><link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    function GroupDelegate(id) {
       var objLink = document.getElementById(id);
       Lightbox.prototype.start(objLink);
    }
    </script>
    
    <style type="text/css">
    <!--
    body {
    	background-image: url(images/bgimage.jpg);
    	background-repeat: repeat;
    }
    -->
    </style>
    <script type="text/javascript" src="js/prototype.js"></script>
    <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
    <script type="text/javascript" src="js/lightbox.js"></script></head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    
    <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="770"><img src="images/index_01.gif" width="770" height="45" alt=""></td>
      </tr>
    </table>
    <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="257" bgcolor="#1B1B1B"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    
          <tr>
            <td><table width="257" border="0" cellspacing="0" cellpadding="0">
    
              <tr>
                <td width="257"><a href="#">
                  <script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','257','height','364','src','images/3330','quality','high','pluginspage','https://www.macromedia.com/go/getflashplayer','align','absbottom','movie','images/3330' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="257" height="364">
                    <param name="movie" value="images/3330.swf">
                    <param name="quality" value="high">
                    <embed src="images/3330.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="absbottom" width="257" height="364"></embed>
                  </object></noscript>
                </a></td>
              </tr>
              <tr>
                <td><img src="images/index_29.gif" width="257" height="27" alt=""></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="10">
                  <tr>
                    <td><img src="images/index_32.jpg" width="103" height="15" alt=""></td>
                  </tr>
                  <tr>
                    <td><p>? 8 Compact Sections<br />
                      <br />
                        ? Space saver 1’6” x 1’6” x 4’10”<br />
                        <br />
                        ? Everyone loves a snack<br />
                        <br />
                        ? Provides a convenient snack for <br />
    your customers and/or employees at no charge to you<br />
    <br />
    ? Machines are cleaned and maintained regularly</p>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="right">? <a href="#">read more</a></td>
                        </tr>
                      </table>
                      <p class="white-text">&nbsp;</p>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td align="right">&nbsp;</td>
                        </tr>
                      </table>
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="513" valign="top" bgcolor="#1B1B1B"><table width="513" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="453"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','453','height','190','src','images/3330_1(2)','quality','high','pluginspage','https://www.macromedia.com/go/getflashplayer','align','absbottom','movie','images/3330_1(2)' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="453" height="190">
              <param name="movie" value="images/3330_1(2).swf">
              <param name="quality" value="high">
              <embed src="images/3330_1(2).swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="absbottom" width="453" height="190"></embed>
            </object></noscript></td><a id="tomtom" href="images/16.tiff" rel="lightbox[papers]" title="Wallpapers: Blue"></a>
            <td width="60"><table width="100%" height="145" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td height="33%" align="center" valign="middle" bgcolor="#141414">&nbsp;</td>
              </tr>
              <tr>
                <td height="33%" align="center" valign="middle" bgcolor="#141414">&nbsp;</td>
              </tr>
              <tr>
                <td height="33%" align="center" valign="middle" bgcolor="#141414">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
        </table>
          <table width="513" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="513"><img src="images/index_18.gif" width="513" height="10" alt=""></td>
            </tr>
            <tr>
              <td><img src="images/index_19.gif" width="513" height="42" alt=""></td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="10">
            <tr>
              <td width="18%" valign="top"><img src="images/index_24.jpg" width="68" height="80" alt=""></td>
              <td width="82%" valign="top"><p class="white-text"> <img src="images/logo.png" width="71" height="24"> is dedicated to offering a convenient snack service for your customers and employees. Our compact 8 selection machines offer great variety while resting withing 1 1/2 sq. ft  of floor space. This service is offered for <strong>FREE</strong> and a portion of the proceeds will be donated to:</p>
                <p align="center" class="white-text"> <a href="www.children-cancer.org"><img src="images/NCCS-logo.jpg" width="93" height="60"></a></p>
              <p>&nbsp;</p></td>
            </tr>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="10">
            <tr>
              <td><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
    
    <head profile="https://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <title> TomTom Goodies</title>
    
    <link rel="stylesheet" href="https://tomtomgoodiesnow.com/wordpress/wp-content/themes/default/style.css" type="text/css" media="screen" />
    <link rel="pingback" href="https://tomtomgoodiesnow.com/wordpress/xmlrpc.php" />
    
    <style type="text/css" media="screen">
    
    	#page { background: url("https://tomtomgoodiesnow.com/wordpress/wp-content/themes/default/images/kubrickbg-ltr.jpg") repeat-y top; border: none; }
    
    </style>
    
    <link rel="alternate" type="application/rss+xml" title="TomTom Goodies &raquo; Feed" href="https://tomtomgoodiesnow.com/wordpress/?feed=rss2" />
    <link rel="alternate" type="application/rss+xml" title="TomTom Goodies &raquo; Comments Feed" href="https://tomtomgoodiesnow.com/wordpress/?feed=comments-rss2" />
    <link rel='stylesheet' id='wp-polls-css'  href='https://tomtomgoodiesnow.com/wordpress/wp-content/plugins/wp-polls/polls-css.css?ver=2.50' type='text/css' media='all' />
    <script type='text/javascript' src='https://tomtomgoodiesnow.com/wordpress/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://tomtomgoodiesnow.com/wordpress/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://tomtomgoodiesnow.com/wordpress/wp-includes/wlwmanifest.xml" />
    <link rel='index' title='TomTom Goodies' href='https://tomtomgoodiesnow.com/wordpress' />
    <meta name="generator" content="WordPress 2.8.1" />
    <style type="text/css">
    .wp-polls .pollbar {
    	margin: 1px;
    	font-size: 8px;
    	line-height: 10px;
    	height: 10px;
    	background-image: url('https://tomtomgoodiesnow.com/wordpress/wp-content/plugins/wp-polls/images/default_gradient/pollbg.gif');
    	border: 1px solid #c8c8c8;
    }
    </style>
    </head>
    <body class="home blog">
    <div id="page">
    
    <div id="header" role="banner">
    	<div id="headerimg">
    		<h1><a href="https://tomtomgoodiesnow.com/wordpress/">TomTom Goodies</a></h1>
    		<div class="description">Just another WordPress weblog</div>
    	</div>
    </div>
    <hr />
    
      </td>
            </tr>
          </table></td>
      </tr>
    </table>
    <table width="770" border="0" align="center" cellpadding="10" cellspacing="0">
      <tr>
        <td bgcolor="#141414" class="white-text">Copyright ? 2009 TomTom Goodies. All Rights Reserved.</td>
      </tr>
    </table>
    </body>
    </html>

    Thanks again for your help its greatly appreciated!

    You’ve got 2 pages in there. Not just one. About halfway down, there’s the line <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">? That’s a second page!

    Have a look at the index.php template file in the default theme. That’s the kind of format that you need to follow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Noob Question =x RSS? Integrating? Help =x’ is closed to new replies.