1
0
mirror of https://github.com/Chouchen/ShikiryuRSS.git synced 2026-05-30 13:59:06 +02:00

🚧 Add some validations and corrections

This commit is contained in:
Shikiryu
2023-04-11 23:49:03 +02:00
parent 5de5993e2b
commit f1816dec0c
10 changed files with 48 additions and 26 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ First, we need to load the RSS :
$rss = SRSS::read('http://exemple.com/rss.xml');
Easy, right? Then you can extract general informations :
Easy, right? Then you can extract general information :
echo $rss->title; // will display blog title
@@ -43,7 +43,7 @@ First, we need to initialize the RSS :
$rss = SRSS::create();
Easy, right? Then you can add general informations :
Easy, right? Then you can add general information :
$rss->title = 'My Awesome Blog';
$rss->link = 'http://shikiryu.com/devblog/';
@@ -73,4 +73,4 @@ The other one does the opposite and add the next item in top of your RSS
----------------------------------
Contact :
http://shikiryu.com/contact
https://shikiryu.com/contact