PDA

View Full Version : recent articles and blogs on main page


capelton
05-15-2005, 06:17 PM
ok, just wanted to know if you can include most recent article(s) and blogs on the site's main index page. So my article live would be /article_live/index.php, and my main site would be /index.php.... How can i have a php include or whatever hack if possible call content from the main page of A.L into this main website page.?

DWA
05-16-2005, 08:21 PM
There are files in "http://yourdomain.com/articlelive/templates/whatever/panels/" which are:
1. RecentArticlesPanel.php & html
2. RecentBlogsPanel.php & html

Take a look at them,
You can parse them some way by using include/require/file_get_contents/fopen, you may choose the method

Chris S
05-17-2005, 02:55 AM
Hi,

As well as DWA's suggestion, you could also use the RSS feeds and parse them for your content...

ok, just wanted to know if you can include most recent article(s) and blogs on the site's main index page. So my article live would be /article_live/index.php, and my main site would be /index.php.... How can i have a php include or whatever hack if possible call content from the main page of A.L into this main website page.?

capelton
05-17-2005, 05:21 AM
Thanks guys major help there. PHP include i know. But RSS feeds sounds easier, but i need to learn it (I WILL).

I have not bought article live just yet, I have been on the demo in admin and front-end trying this software on and off for like 8 months now - and still cannot commit. But ia m getting over this fear soon. Keep up this MOST EXCELLENT WORK

Chris S
05-18-2005, 03:06 AM
Hi,

There's no way to just do a php include :/ My suggestion would probably be the rss feed. Otherwise, you could hack something together to talk to the database directly, but I don't know if you want to do that....

ok, just wanted to know if you can include most recent article(s) and blogs on the site's main index page. So my article live would be /article_live/index.php, and my main site would be /index.php.... How can i have a php include or whatever hack if possible call content from the main page of A.L into this main website page.?

capelton
05-20-2005, 01:03 AM
well it seems the RSS feeds is the only way, or maybe use a dataminer, that could include a live content feed. thats the the other easy thing to work with :)... anyways thanks a lot

Chris S
05-20-2005, 03:34 AM
Hi,

No problems.. Any other questions let us know!

well it seems the RSS feeds is the only way, or maybe use a dataminer, that could include a live content feed. thats the the other easy thing to work with :)... anyways thanks a lot