Tell us about yourself!

Complete Your Profile
  • Jared1221 commented on elicom's instructable How to make a Magic Mirror2 years ago
    How to make a Magic Mirror

    i finally got it to work, i forgot to change the apache server to php, it works now. Also what can i change the address to so that its in english or something like weather

    Nevermind, i did something wrong. But i dont know how to get the index file on your github without just copy pasting

    Hmm now when i go to localhost it says i dont have acess to /index.html even though i did sudo chown in the apache tutorial

    View Instructable »
  • Jared1221 commented on elicom's instructable How to make a Magic Mirror2 years ago
    How to make a Magic Mirror

    oh and i only did youtube as the address because the original one wasnt working so i was trying to test a random site.

    Great Project, i did all the coding for it but my website shows code on it, for example next to the time and date on the left side there is ...load('http://youtube.com'); // Specify the address to the feed $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) { $item = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 3; // Number of posts to be displayed for($x=0;$x<$limit;$x++) { $title = str_replace(' & ', ' & ', $feed[$x]['title']); $description = $feed[$x]['desc']; $date = date('j F', strtotime($feed[$x]['dat...

    see more »

    Great Project, i did all the coding for it but my website shows code on it, for example next to the time and date on the left side there is ...load('http://youtube.com'); // Specify the address to the feed $feed = array(); foreach ($rss->getElementsByTagName('item') as $node) { $item = array ( 'title' => $node->getElementsByTagName('title')->item(0)->nodeValue, 'desc' => $node->getElementsByTagName('description')->item(0)->nodeValue, 'date' => $node->getElementsByTagName('pubDate')->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 3; // Number of posts to be displayed for($x=0;$x<$limit;$x++) { $title = str_replace(' & ', ' & ', $feed[$x]['title']); $description = $feed[$x]['desc']; $date = date('j F', strtotime($feed[$x]['date'])); echo ''.$title.''; '.$date.''; '.strip_tags($description, '<').''; } ?><06) and ($now < 10)) echo and below that where the time based messages are there is <06) and ($now < 10)) echo 'Good morning!'; else if (($now >= 10) and ($now < 12)) echo 'Have a nice day!'; else if (($now >= 12) and ($now < 14)) echo 'Time for lunch!'; else if (($now >= 14) and ($now < 17)) echo 'Come and see!'; else if (($now >= 17) and ($now < 20)) echo 'Time to start to think about dinner?'; else if (($now >= 20) and ($now < 22)) echo 'Have a nice evening!'; else if (($now >= 22) and ($now < 23)) echo 'Sleep tight, see you tomorrow!'; else if (($now >= 00) and ($now < 06)) echo 'Shh, sleeping...'; ?>can someone help me i dont know what i did wrong, my index.html file is exsactly the same as yours.

    View Instructable »