Browse Source

Added php Parsedown library and made Podcast RSS descriptions output html

pull/24/head
Teknikode 8 years ago
parent
commit
4728fa4863
  1. 1426
      includes/Parsedown.php
  2. 5
      rss/index.php

1426
includes/Parsedown.php

File diff suppressed because it is too large Load Diff

5
rss/index.php

@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
<?php
require_once('../includes/config.php');
include '../includes/Parsedown.php';
$rss_id = 0;
$rss_author = "";
@ -113,7 +114,9 @@ if ($_GET['content']) @@ -113,7 +114,9 @@ if ($_GET['content'])
$tags = $pod['tags'];
$file = $pod['file_name'];
$files = explode(',', $file);
$post = $pod['description'];
$Parsedown = new Parsedown();
$post = $Parsedown->text($pod['description']);
$rssfeed .= '<item>';
$rssfeed .= '<title><![CDATA[' . $title . ']]></title>';

Loading…
Cancel
Save