Jump to content

kiowa_jackson

Members
  • Posts

    36
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

kiowa_jackson's Achievements

Member

Member (2/5)

0

Reputation

  1. Started doing it like this now, pretty happy with it. Unless there's some obvious way to make it better I'll go with this: <?php $xmlStr = file_get_contents('http://search.twitter.com/search.atom?q=twitter+feed'); $rss = new SimpleXMLElement($xmlStr); echo "<p>"; echo $rss->entry[0]->title; echo "<p>"; echo $rss->entry[1]->title; echo "<p>"; echo $rss->entry[2]->title; echo "<p>"; echo $rss->entry[3]->title; echo "<p>"; echo $rss->entry[4]->title; ?> </p>
  2. dzelenika, awesome, thanks so much!! That's a very easy script to use too. Is there way to make it display multiple entries? I tried doing $xmlStr = file_get_contents('http://search.twitter.com/search.atom?q=twitter+feed'); $rss = new SimpleXMLElement($xmlStr); echo $rss->entry[0]->title; $xmlStr = file_get_contents('http://search.twitter.com/search.atom?q=twitter+feed'); $rss = new SimpleXMLElement($xmlStr); echo $rss->entry[1]->title; $xmlStr = file_get_contents('http://search.twitter.com/search.atom?q=twitter+feed'); $rss = new SimpleXMLElement($xmlStr); echo $rss->entry[2]->title; i.e. enter the script multiple times and increase "entry" by 1. It works, but is that a good way to do it or is there a better way? Thanks again
  3. OK, my problem is that the feed http://search.twitter.com/search.atom?q=twitter+feed won't display with rsslib. How do I get that feed to display in a webpage? Thanks
  4. I use rsslib http://www.2rss.com/software.php to display rss feeds in my site. I’d like to display a twitter feed on my page, but it doesn’t seem to work. However, I used rss mixer http://www.rssmix.com/ to convert the twitter feed to xml and then it worked properly. However, the site runs veeery slow like this, and now I can't get rssmixer to work and therefore all my feeds are broken. Is there a way to convert the twitter feed to xml? Or is there a different script to use for displaying twitter feeds? Thanks
  5. I've got the cookie msg set. How do I insert the value of the cookie in to the source code? Thanks (again )
  6. Is it possible with php to pass values to automatically go into the fields and log in to the interface at http://www.achaea.com/nexus/play.php or is a different programming language needed for that?
  7. Google has several parameters when you search, the most interesting being the query http://www.google.com/search?q=pumpkin+pie&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a is there a way to capture the value of this at the landing page, if someone clicks through from the organic results? It doesn't look like google passes them on through the organic links, but I've heard you can capture it using javascript...
  8. I want someone who is coming in with the link www.mydomain.com/index.php?msg=1 to get a cookie set called msg with the value 1. I tried using this: <?php $days = 360; $time = time() + ($days * 86400); setcookie('msg', $msg, $time); ?> but to no avail. Can someone tell me what I need to change to make it work? Thanks
  9. I'm trying to include the content for the empty sidebar. This is what the code for it looks like: <div id="sidebar-a"> <?php include('http://www.hansfalk.se/inc/sidebar.php'); ?> </div> do you want the rest of the code as well?
  10. I'm using the function <?php include('http://www.hansfalk.se/inc/sidebar.php'); ?> on the page http://www.hansfalk.se/index.php, but nothing is displaying. http://www.hansfalk.se/inc/sidebar.php is working fine though...why is that? And the image on the right hand side http://www.hansfalk.se/img/hasse.JPG isn't displaying for me in firefox, but it's working in IE. Can someone confirm this for me? Thanks for the help...
  11. I'm currently using something like <h1>Welcome To My Page About <?php echo urldecode($_GET['ins']); ?> and I just set $ins in links to whatever I want to be displayed in the headline. Is there a way to have default text displayed for when $ins is not set? So that everyone sees something....? Thanks
  12. Thanks. I'm unsure how to write it though, I tried <h1>Welcome to my site about <?php echo $_GET['urldecode($ins']; ?>!</h1> but it doesn't work. Have tried other variations but I'm just guessing...how would I use it?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.