PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 6
~ Members: 0
~ Total: 6
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 17 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


This topic is locked: you cannot edit posts or make replies. Page 1 of 2
Goto page 1, 2  Next
Feed store in database error
Message Author
Reply with quote
Post Posted: Sunday 29 April, 2007 09:48

i installed at http://www.apakistannews.com/apakistannew/

and set option that feeds will store in db.

and then it showing as under:-

http://www.apakistannews.com/apakistannew/http%3A//www.gulf-times.com/site/topics/article.asp?cu_no=2&item_no=146288&version=1&template_id=40&parent_id=22


which u can look at home page at http://www.apakistannews.com/apakistannew/


so in store link some error link not opening in window as u can take a look after open or click on this link

http://www.apakistannews.com/apakistannew/http%3A//www.gulf-times.com/site/topics/article.asp?cu_no=2&item_no=146288&version=1&template_id=40&parent_id=22


so please help why this error coming.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 29 April, 2007 11:40

Hi.
Where exactly should I look?
For the moment I don't see anything wrong on your page?

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 29 April, 2007 14:50

go on this page http://www.apakistannews.com/apakistannew/modules.php?name=Multiheadlines&rss=ShowNews&cat=9

then tale a look u will watch as under:-

when we open these news it looks page not find.
http://www.apakistannews.com/apakistannew/http%3A//www.antara.co.id/en/arc/2007/4/29/bollywoods-rai-targetted-in-new-indian-kissing-row

and so on................


_______________
1 Bollywood`s Rai targetted in new Indian kissing row (Antara News)
Bollywood megastar Aishwarya Rai has been summoned to explain an "obscene" kissing scene, Indian officials said Saturday, just days after a similar row engulfed Hollywood's Richard Gere.
6h 6min 43sec ago

_______________
2 India's Bollywood is getting a theme park (Moldova.org)
India's Bollywood movie industry in Mumbai is getting its own theme park, likened to the Hollywood studio parks.Percept Holdings, a media and entertainment company, has announced plans to build the Bollywood entertainment park for about $100 million, the BBC reported Saturday. The company says it will provide the Bollywood experience.The park will aim at letting fans get behind the scenes of the ...
16h 41min 15sec ago

_______________
3 India's Bollywood is getting a theme park (EARTHtimes.org)
India's Bollywood movie industry in Mumbai is getting its own theme park, likened to the Hollywood studio parks.
17h 14min 13sec ago

_______________
4 India's Bollywood is getting a theme park (UPI)
India's Bollywood movie industry in Mumbai is getting its own theme park, likened to the Hollywood studio parks. Percept Holdings, a media and entertainment company, has announced plans to build the Bollywood entertainment park for about $100 million,
17h 16min 19sec ago

_______________
5 Kangana, the latest storm from Bollywood (IndiaGlitz)
Kangana Ranaut is the latest addition to young girls from Bollywood aspiring for to scale heights in Tamil cinema.
1d 4h

_______________
6 Indian film capital set to build first Bollywood theme park (Times Online)
A Bollywood theme park is being built in India's cinema and entertainment capital, Bombay, along the lines of Hollywood studio parks, allowing fans to go behind the scenes of the world's biggest cinema industry in terms of viewers.
1d 15h

_______________
7 Bollywood bride to adopt husband's surname, says father-in-law (CBC)
Bollywood actress and recent celebrity bride Aishwarya Rai is set to take her new husband's famous surname, according to her movie icon father-in-law.
1d 16h

_______________
8 Bollywood's Aishwarya Rai will take new husband Abhishek Bachchan's family name (CP via Yahoo! Canada News)
NEW DELHI (AP) - Aishwarya Rai, Bollywood's hottest bride, will take her new husband's famous surname to become Aishwarya Bachchan.
1d 19h

_______________
9 Bollywood to have its first theme park in Mumbai (Reuters via Yahoo! India News)
MUMBAI (Reuters) - A Bollywood theme park is being built in Mumbai along the lines of Hollywood studio parks, allowing fans to go behind the scenes of the world's biggest cinema industry in terms of viewers.
1d 23h

_______________
10 Bollywood to have its first theme park in India (Reuters via Yahoo! Asia News)
MUMBAI (Reuters) - A Bollywood theme park is being built in India along the lines of Hollywood studio parks, allowing fans to go behind the scenes of the world's biggest cinema industry in terms of viewers.
2d 2h

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 29 April, 2007 18:00

Hmmm I see this aplies only to yahoo feeds.

Check how exactly are saved those urls(those faulty ones) in your database [table _multiheadlines_news field news_link] and get back here and show me how those saved links looks.

Or try this:
open functions.php from modules/Multiheadlines folder search for this line:
Code:
      if (eregi("rd.yahoo.com/", $link)) {

and replace with this one
Code:
      if (eregi("rd.yahoo.com/", $link) || eregi("us.rd.yahoo.com/", $link)) {


After login as admin and from Multiheadlines admin panel -> Database Operations -> Delete feeds from a site, here choose the site "Yahoo News".
After that do a represh for this site ["Yahoo News"] from Feed URL Management in that big table last column[Refresh].
Should be fine now.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 30 April, 2007 09:18

Now looking as under:-



$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $contents, $vals, $index);
xml_parser_free($xml_parser);
for ($i=0; $i < count($index["TITLE"]); $i++){
$title=filtering($vals[$index["TITLE"][$i]]["value"], $info["encoding"]);
$link=$vals[$index["LINK"][$i]]["value"];
if (eregi("rd.yahoo.com/", $link) || eregi("us.rd.yahoo.com/", $link)) {
$l=explode("*", $link);
$link=$l[1];
}



but still same

http://www.apakistannews.com/apakistannew/modules.php?name=Multiheadlines&rss=ShowNews&cat=1

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 30 April, 2007 11:41

Of course you have. Did you also removed those feeds from your database?
Do as I said.
Quote:
After login as admin and from Multiheadlines admin panel -> Database Operations -> Delete feeds from a site, here choose the site "Yahoo News".
After that do a represh for this site ["Yahoo News"] from Feed URL Management in that big table last column[Refresh].

You must remove those feeds from database and check again after refreshing.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 30 April, 2007 14:21

i remove all feeds from db.
adn that was looking as under:-

For the moment, there is no news!
Then i refresh only yahoo feed adn still that error
_______________
1 Iran likes idea of Gazprom in India gas link (Reuters via Yahoo! Asia News)
TEHRAN, April 30 (Reuters) - Iran suggested on Monday it would welcome any Gazprom involvement in a proposed $7 billion gas pipeline to India via Pakistan, with a senior official saying it would speed progress.
49min 44sec ago

http://www.apakistannews.com/apakistannew/http%3A//asia.news.yahoo.com/070430/3/313zt.html

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Monday 30 April, 2007 14:39

also i check from Db
and news links saving as under:-

http%3A//www.channelnewsasia.com/stories/afp_asiap...
http%3A//www.indiadaily.com/editorial/16599.asp
and so on for yahoo........

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Tuesday 01 May, 2007 01:10

I don't know what's happening I've tested that feed url here on site and everything looks ok, check yourself here.
BTW do you have this line:
Code:
$link=ereg_replace("http%3A//", "http://", $link);

just after the code you've showed to me before?

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 11:27

take a look all is ok

$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $contents, $vals, $index);
xml_parser_free($xml_parser);
for ($i=0; $i < count($index["TITLE"]); $i++){
$title=filtering($vals[$index["TITLE"][$i]]["value"], $info["encoding"]);
$link=$vals[$index["LINK"][$i]]["value"];
if (eregi("rd.yahoo.com/", $link) || eregi("us.rd.yahoo.com/", $link)) {
$l=explode("*", $link);
$link=$l[1];
}
if (array_key_exists("DESCRIPTION", $index)){
$description=filtering($vals[$index["DESCRIPTION"][$i]]["value"], $info["encoding"]);
} else {
$description="N/A";
}
if (array_key_exists("PUBDATE", $index)) {
$pubdate=strtotime(trim($vals[$index["PUBDATE"][$i]]["value"]));
if ($pubdate==false || $pubdate=="-1") {
$pubdate=time();
}
} elseif ($info['pubdate']!=='N/A') {
$pubdate=$info['pubdate'];
} elseif ($info['lastbuilddate']!=='N/A') {
$pubdate=$info['lastbuilddate'];
} else {
$pubdate=time();

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 11:30

no i disable yahoo feeds when done i will active

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 13:48

Ok.
In the above code just before this line
Code:
if (array_key_exists("DESCRIPTION", $index)){


add this line:
Quote:
$link=ereg_replace("http%3A//", "http://", $link);


From where did you get the Multiheadlines package? Question Question Question

Because here on my site, at Downloads, I have a diferrent version with the above line already added.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 14:06

so now what i do as i get this from your site

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 14:09

Ha?

Nevermind mind.
Just do what I said on the last post.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 03 May, 2007 14:16

ok i will try and inform u or is i can download again and upload function.php file only ?

View user's profile Send private message Visit poster's website
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 1 of 2
Goto page 1, 2  Next
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.86 Seconds