Thread: News Box

Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: News Box

    Ok, no problem, thats great....thanks again for your help.

    Cheers

    Nick

  2. #12
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: News Box

    Oh forgot to ask, this isn't something I will need to use on this particular project BUT, do the Define Page Editors also accept PHP code/tags?

    Cheers

    Nick

  3. #13
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: News Box

    Define Page Editors also accept PHP code/tags?
    No, this is only straight html content
    Zen-Venom Get Bitten

  4. #14
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: News Box

    I've created a define_rss.php page to hold my RSS feed (from Feed Reader) but only the java version appears correctly. I gather, this type of page cannot contain PHP as the main content, as stated above. Is that correct?

    Where would I be able to put a PHP version of the feed? I'd like search engines to be able to spider the info.

    thx.

  5. #15
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: News Box

    I'm still trying to figure out the problem with my RSS feed. Here is the code in my define_rss.php file:
    <?php echo '<p>Hello World</p>'; ?>



    <?php $olderror_reporting =error_reporting(0);
    include ("http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fnews.google.com%2Fnews%3Fhl%3Den%26ned%3Dus%26ie%3DUTF-%26output%3Drss%26q%3DGPS&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=&auth =1&dts=1&width=400&max=5&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=600 &nht=550&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=1&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
    error_reporting($olderror_reporting);
    ?>
    <script language=javascript src="http://rssfeedreader.com/rss3/rss.php?url=http%3A%2F%2Fnews.google.com%2Fnews%3Fhl%3Den%26ned%3Dus%26ie%3DUTF-%26output%3Drss%26q%3DGPS&newpage=1&chead=1&atl=1&desc=1&owncss=&eleminate=&auth =1&dts=1&width=400&max=5&tlen=0&rnd=1&bt=3&bs=Double&nmb=&ntb=&naf=&nst=&nwd=600 &nht=550&dlen=0&lstyle=-1&lc=Blue&bg=White&bc=Gray&spc=&ims=1&tc=&ts=11&tfont=Verdana,+Arial,+Sans-serif"></script>

    Can anyone tell me why I'm getting "hello world" and not the PHP feed? The java feed is working correctly.

    URL to see: http://www.gpstrackzone.com/index.php?main_page=rss

    thanks!

  6. #16
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: News Box

    I'm wondering how I might add a PHP feed on my page. Anyone know about this?

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. News Box
    By Prellyan in forum Addon Sideboxes
    Replies: 12
    Last Post: 6 Aug 2010, 09:19 AM
  2. Ez-Pages as News Box?
    By Berserker in forum Basic Configuration
    Replies: 0
    Last Post: 5 Oct 2009, 11:50 AM
  3. News/Message box
    By Berserker in forum General Questions
    Replies: 2
    Last Post: 25 Jul 2006, 03:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg