Exemplo n.º 1
0
<?php

/**
 * Created by PhpStorm.
 * User: James
 * Date: 6/15/2015
 * Time: 8:58 PM
 * Use this file to pull feeds on the cron and write them to a data file.
 */
require_once 'core.php';
$core = new Homepage_Core_Functions();
// Craigslist
$core->cacheFeed('http://charleston.craigslist.org/search/msa?query=bass&srchType=A&format=rss', 'craigslist.txt');
$core->cacheFeed('http://charleston.craigslist.org/search/mca?hasPic=1&maxAsk=2000&minAsk=400&srchType=A&format=rss', 'craigslist2.txt');
// Beanstalk - Do we even need this?
$core->cacheFeed('https://james@blueacorn.com:pass4james@blueacorn.beanstalkapp.com/atom/65269fd822a19ab818d80f8a5a48d43771b60ae2', 'beanstalk.txt');
// NASA Image(s) of the Day
$core->cacheFeed('http://www.nasa.gov/rss/dyn/lg_image_of_the_day.rss', 'nasa_images.txt');
Exemplo n.º 2
0
<?php

require_once 'core.php';
$core = new Homepage_Core_Functions();
error_reporting(3);
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" type="image/icon" href="img/favicon.ico">

    <title>Be Awesome, Dude</title>

    <!-- Bootstrap Core CSS -->
    <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" type="text/css">

    <!-- Fonts -->
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Roboto:400|Englebert' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Poppins' rel='stylesheet' type='text/css'>

    <!-- Custom Theme CSS -->
    <link href="css/grayscale.css" rel="stylesheet">