ajax
class
css
db
images
js
.htaccess
CURL.php
GoogleMeteo.php
addSite.php
add_note.html
blogs.php
blogs_last_post.php
calculator.html
config.php
getProjectsList.php
getUncompletedTasks.php
index.php
install-todoist.php
meteo.php
notepad.html
notes_extract.php
12 lines
342 B
PHP
12 lines
342 B
PHP
<?
|
|
require('blogs_last_post.php');
|
|
$opts = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 10, CURLOPT_CONNECTTIMEOUT => 10);
|
|
$blogs = new Blogs_last_post();
|
|
foreach($blogs->getLinks() as $link)
|
|
{
|
|
$blogs->addSession($link['url'], $opts);
|
|
}
|
|
echo $blogs->getEverything();
|
|
$blogs->clear();
|
|
|