Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

RSS parser system question?

Asked Modified Viewed 9,008 times
W
Woody
W
Woody 10
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
asked
Junior Member

i downloaded the rss parser system and infused it. all is well.... but not sure how to get the rss feeds from my site using the parser system. note i have no rss aritcle.php or any others for news and such. where do i get those from? TIA
0 replies

5 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Try attachment, it might require some mods. Could not find the "fixed" one.
Falk attached the following file:
rss_feed.zip [No information available / 160 Downloads]
0 replies
W
Woody
W
Woody 10
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

cool and ty
now the panel comes up with icons but nothing is in rss when i look at it. now i have the feeds in the forum3 dir bostonrockradio.com/forum3
and i see there is no infuse to this one. any ideas?

here is what i get on all i think but total blank on news

XML Parsing Error: no element found
Location: http://www.bostonrockradio.com/forum3/feeds/rss_forums.php
Line Number 1, Column 1:

also shouldn't it open in new window?

looked into the feeds error log and this is what is in there

Quote

[09-Jan-2017 14:48:00 Europe/London] PHP Fatal error: Call to undefined function multilang_table() in /home/waynerockon/public_html/forum3/feeds/rss_news.php on line 24
Edited by N/A on 16-01-2017 12:47,
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Like I said, you need to modify it. All queries with multilang operator need to be re-made
0 replies
W
Woody
W
Woody 10
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions
answered
Junior Member

ok
hmm i'm not a programmer
so not really sure what to fix

looking at articles feed : i see this info but not sure where to change it?

<?php
//OS:mFusionME
//version:4.01.20
//type:CORE
// ARTICLES FEEDER for mFUSION 1.x /////////////////////////////////////////////
//Modded and remodelled for mFUSION by www.sumotoy.com
//Features: Full multilanguage with international option (shows the language in multilanguage feeds)
//Note: For link a particular language use this http://www.yoursite.com/feeds/articles.php?lang=Japanese
//Note: For All languages use this http://www.yoursite.com/feeds/articles.php?lang=Japanese
//status:100%///////////////////////////////////////////////////////////////////
header("Content-Type: text/xml");
require_once "../maincore.php";
require_once THEME."theme.php";

if (file_exists(BASEDIR."feeds/locale/".LANGUAGE.".php")) {
   include BASEDIR."feeds/locale/".LANGUAGE.".php";
} else {
   include BASEDIR."feeds/locale/English.php";
}

$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access').(multilang_table("A")?" AND article_cat_language='".LANGUAGE."'":"")."
ORDER BY article_datestamp DESC LIMIT 0,10");

echo "<?xml version=\"1.0\" encoding=\"".$locale['charset']."\"?>\n\n
   <!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n
   \"http://my.netscape.com/publish/formats/rss-0.91.dtd\">\n\n
   <rss version=\"0.91\">\n\n
   <channel>\n";

echo "<title>".$settings['sitename'].$locale['rss002'].(multilang_table("A")?" ".$locale['rss007']." ".LANGUAGE:"")."</title>\n<link>".$settings['siteurl']."</link>\n";

echo "<description>".$settings['description']."</description>\n";
while ($row=dbarray($result)) {
   $rsid = intval($row['article_id']);
   $rtitle = $row['article_subject'];
   $description = stripslashes(nl2br($row['article_snippet']));
   // Add allowable HTML tags below, all others will be stripped
   $description = strip_tags($description, "<A><P><BR><BR /><HR>");
   echo "<item>\n";
   echo "<title>".htmlspecialchars($rtitle).(multilang_table("A")?" - ".$locale['rss007'].$row['article_language']:"")."</title>\n";
   echo "<link>".$settings['siteurl']."readarticle.php?article_id=".$rsid."</link>\n";
   echo "<description>".htmlspecialchars($description)."</description>\n";
   echo "</item>\n";
}
echo "</channel></rss>";
?>
Edited by N/A on 16-01-2017 12:46,
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

The trick is in the Query,

Try replace $result part with
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,10");


Basically, everything with multilang_table() need to go.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 5 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
W
W
Woody 10
  • Junior Member, joined since
  • Contributed 46 posts on the community forums.
  • Started 14 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet