PDA

View Full Version : HowTo view article summary in external page?


linustorvalds
06-04-2005, 11:09 AM
Hello, I got problem with viewing news in a external page of ArticleLive.
I got my ArticleLive2005 in "www.domain.com/ArticleLive/" path and a file
"www.domain.com/index.php" as home, located above of articleLive path.
How can I call the function for viewing summary articles in an external
page (index.php)?

Please help me!!
Thanks alot!

Roberto M

Chris S
06-06-2005, 02:16 AM
Hi Roberto,

There's no simple way to do it. Others have used the rss feed or talked straight to the database, we don't have a simple API to use to get what you want sorry.

Hello, I got problem with viewing news in a external page of ArticleLive.
I got my ArticleLive2005 in "www.domain.com/ArticleLive/" path and a file
"www.domain.com/index.php" as home, located above of articleLive path.
How can I call the function for viewing summary articles in an external
page (index.php)?

Please help me!!
Thanks alot!

Roberto M

linustorvalds
06-07-2005, 05:44 PM
I think that it can done using rss, but, how can i call the articlerss.php
in an external page? if i do it using <include...> output is:

Warning: session_start(): Cannot send session cache limiter - headers already
sent (output started at c:\programmi\easyphp1-8\www\index1.php:10) in c:\programmi
\easyphp1-8\www\ArticleLive\init.php on line 4

Parse error: parse error in c:\programmi\easyphp1-8\www\ArticleLive\includes\c
lasses\class.article.php on line 1075

I think that this problem could be resolved, but how?

Please help,

Roberto

Chris S
06-08-2005, 01:58 AM
Hi,

You've modified something.. I don't get that first error and also you have a parse error in the includes/classes/class.article.php file.

I think that it can done using rss, but, how can i call the articlerss.php
in an external page? if i do it using <include...> output is:

Warning: session_start(): Cannot send session cache limiter - headers already
sent (output started at c:\programmi\easyphp1-8\www\index1.php:10) in c:\programmi
\easyphp1-8\www\ArticleLive\init.php on line 4

Parse error: parse error in c:\programmi\easyphp1-8\www\ArticleLive\includes\c
lasses\class.article.php on line 1075

I think that this problem could be resolved, but how?

Please help,

Roberto</include...>

linustorvalds
06-15-2005, 08:53 AM
Hi,

You've modified something.. I don't get that first error and also you have a parse error in the includes/classes/class.article.php file.

</include...>


Fine, i used SQL queries and php basic functions to hack information from articlelive database.

Now it work very, very good! :cool:

Chris S
06-16-2005, 05:06 AM
Hi,

Fair enough.

Others may want to see how you've done it, could you post a sample?

Fine, i used SQL queries and php basic functions to hack information from articlelive database.

Now it work very, very good! :cool: