Jump to content

javawizkid

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

javawizkid's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What code should I use to grab the img urls then if is feed:// ?
  2. It wont read it even if I change it to < <?php require_once('simple_html_dom.php'); $html = file_get_html('http://feeds.feedburner.com/148apps_newest'); //echo $html; // Find all images foreach($html->find('<') as $element) echo $element->src . '<br>'; ?> Has it got anything to do with the fact it redirects the url to feed:// instead of http:// ?
  3. I changed the code to <?php require_once('simple_html_dom.php'); $html = file_get_html('http://feeds.feedburner.com/148apps_newest'); //echo $html; // Find all images foreach($html->find('img') as $element) echo $element->src . '<br>'; ?> to make it simple. It doesn't seem to like reading feeds. It can parse normal html websites like yahoo.com and outputs the image urls as desired. Why won't it parse the url above?
  4. Hey, not sure what I'm doing wrong as nothing is displayed in the echo. <?php $doc = new DOMDocument(); $doc->load('http://feeds.feedburner.com/148apps_newest'); $arrFeeds = array(); foreach ($doc->getElementsByTagName('description') as $node) { $itemRSS = array ( 'image' => $node->getElementsByTagName('img')->item(0)->nodeValue ); array_push($arrFeeds, $itemRSS); } //print_r($arrFeeds); for ($i=0;$i<=40;$i++) { echo $arrFeeds[$i][image]; echo ("<br/><br/>"); } ?> print_r($arrFeeds); outputs blank array items... Hmm Thanks
  5. Hi, How do I limit folder sizes on my apache webserver? I've looked all over the internet and found no answers. I've heard people use quotas but I only have one documentroot in my httpd.conf file so I cannot link folders between user accounts in windows. How would I go about doing it? I have Windows XP Professional. Thanks!
×
×
  • 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.