Skip to content

Commit

Permalink
Jadi Blog Link Changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jaavid committed Jul 14, 2015
1 parent 844eef0 commit 4a50d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
$dbdata = array('ID' => '', 'Uid' => $updateid, 'Mid' => $messageid, 'Fid' => $senderid, 'Cid' => $chatid, 'Date' => $zaman, 'Text' => $text, 'Json' => $jsondata);
$id = $db -> insert('jadi_recived', $dbdata);

$mp3 = "http://cdn.tori.ir/radiogeek.mp3";
$mp3 = "http://jadi.net/radiogeek.mp3";
switch ($text) {
case '/podcast' :
case '/podcast@jadibot' :
case '/podcast@JadiBot' :
try {
$url = "http://cdn.tori.ir/tag/podcast/feed/";
$rss = Feed::loadRss($url);
$url = "http://jadi.net/tag/podcast/feed/";
$rss = Feed::loadRss($url);
$items = $rss->item;
$lastitem = $items[0];
$lastlink = $lastitem->link;
Expand All @@ -52,7 +52,7 @@
case '/lastpost@jadibot' :
case '/lastpost@JadiBot' :
try {
$url = "http://cdn.tori.ir/feed/";
$url = "http://jadi.net/feed/";
$rss = Feed::loadRss($url);
$items = $rss->item;
$lastitem = $items[0];
Expand Down

0 comments on commit 4a50d60

Please sign in to comment.