Browse Source

Added php Parsedown library and made Podcast RSS descriptions output html

pull/24/head
Teknikode 6 years ago
parent
commit
4728fa4863
2 changed files with 1430 additions and 1 deletions
  1. 1426
    0
      includes/Parsedown.php
  2. 4
    1
      rss/index.php

+ 1426
- 0
includes/Parsedown.php
File diff suppressed because it is too large
View File


+ 4
- 1
rss/index.php View File

@@ -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'])
$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