Skip to content
Simple XDCC list in PHP
PHP CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cache Use powered instead of copyright; add a cache folder Apr 21, 2016
class Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
css Integrate Spectre.css Feb 21, 2018
extra use "" for echo Feb 10, 2019
img
json Try to deal with special char Feb 10, 2019
LICENSE Re-indent - begin bookmarks - check the name of the uploaded file - r… Sep 27, 2016
README.md Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
TODO.md Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
admin.php
admin_action.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
config.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
database.php V0.2: Sep 29, 2016
index.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
login.php use "" for echo Feb 10, 2019
logout.php use "" for echo Feb 10, 2019
syndication.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
update.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019
xdcc.php Fix #8, #11: use simplexml_load_string instead of smple_xml_load_file Aug 16, 2019

README.md

XDCC-simple

What this xdcc list can do?

You can see what this website do by watching the features wiki page:

Why another XDCC Parser?

This project uses:

  • XML file from Iroffer
  • No Database
  • No Composer or other things
  • Light CSS (using Spectre.css)
  • Light: for index.php → 2 CSS (50Ko) + 0 JS (0Ko) + 1 image (2Ko) + 1 HTML (~10 Ko; depends of content) = ~62 Ko!

Requirements:

  • XML File from Iroffer (remove the # from #xdccxmlfile mybot.xml here)
  • PHP (I develop it using PHP7.0, so I think PHP >= 5.0 is ok)

How to use it?

  1. Edit the config.php file and set: $user=""; and $password="";
  2. Change others values you want from config.php
  3. Connect to the admin page: admin.php
  4. Add your bot (the name of your bot must be UNIQUE!)
  5. Indicate the location of the XML-generated file (it can be an URL, or a file path - eg /home/user/bot.xml or ../bot.xml)
  6. Finish :)

Problems?

Try to see if:

  1. There is no error in the PHP folder (per default /var/log/php_errors.log)
  2. When you save your bot, the file json/data.json is modified with the values you've set

Thanks in advance!

Thanks

You can’t perform that action at this time.