Learning with Texts - Fork
2.10.0-fork
Learn foreign languages with texts
|
Load a RSS feed. More...
Functions | |
get_feeds_list ($feed, $nfid) | |
print_feed_result ($imported_feed, $nif, $nfname, $nfid, $nfoptions) | |
do_ajax_load_feed ($nfname, $nfid, $nfsourceuri, $nfoptions) | |
Load a RSS feed.
Call: inc/ajax_load_feed.php
do_ajax_load_feed | ( | $nfname, | |
$nfid, | |||
$nfsourceuri, | |||
$nfoptions | |||
) |
Main function to execute an AJAX query echoing feeds.
string | $nfname | Newsfeed name |
int | $nfid | News feed ID |
string | $nfsourceuri | News feed source |
string | $nfoptions | News feed options |
get_feeds_list | ( | $feed, | |
$nfid | |||
) |
Get the list of feeds.
string[][] | $feed | A feed |
@global string $tbpref Database table prefix
print_feed_result | ( | $imported_feed, | |
$nif, | |||
$nfname, | |||
$nfid, | |||
$nfoptions | |||
) |
Update the feeds database and echo a result message.
int | $imported_feed | Number of imported feeds |
int | $nif | Number of duplicated feeds |
string | $nfname | News feed name |
int | $nfid | News feed ID |
string | $nfoptions | News feed options |
@global string $tbpref Database table prefix