ezp 3.2: news portal. how? please help as soon as possible.

Author Message

alt alt

Friday 26 September 2003 12:49:43 pm

I need to create site which collect (import) a lot of news articles (may be 100 per day) from others sites in and sort them in some categories (such as politics, finance and others). I must show on main page 3 description of newsarticles per category ( 3 descr. for politics, 3 descr. for fininance and so on). I must show this descriptions for latest articles in category. In categories' pages i must show all articles of the day or day before if I has not new articles today. I need easy navigation thru days, for ex http://site/finance/2003/09/27/article. All articles must have url to original site as attribute.

How i can do this??? How i can import so many newsarticles in automatic mode, because copy'n'paste by hands is too hard?
How i can shows 3 latest article in category with this (finance/2003/09/27/) folders organisation?

PLEASE HELP!

Alex Jones

Friday 26 September 2003 1:03:38 pm

You might want to see if you can grab RSS feeds from the news sites. If so, you could probably build a workflow to automatically pull the headlines into the system. I don't have the experience to tell you exactly how to do this, but I think it would be possible... There is a recent thread on one of the boards discussing automatic object creation via PHP which might prove insightful or inspiring.

Showing the three latest articles should be simple as all it requires is a standard fetch of items within a category sorted by published or modified date.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

alt alt

Friday 26 September 2003 10:47:19 pm

Does anyone know about import news and creation objects (incl. folders) in automatic mode a bit more? News will be imported most likely from text files. But it would be desirable to know as to import from RSS.

Please, show the right way to do this. (I would like to receive more than concrete advice, because I not so advanced user. Please help.)

Kåre Køhler Høvik

Monday 29 September 2003 7:17:30 am

RSS import and Export is planned for the 3.3 release http://ez.no/developer/news/ez_publish_33_release_plan . The implementation is almost finnished, and will be available as soon as we get public SVN up and running.

Kåre Høvik

alt alt

Monday 29 September 2003 11:06:44 pm

Whether it will be possible alteration for importation of text files of an any format? For example containing the information in lines of a kind: url | date | article?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:20:34
Script start
Timing: Jan 31 2025 06:20:34
Module start 'layout'
Timing: Jan 31 2025 06:20:34
Module start 'content'
Timing: Jan 31 2025 06:20:34
Module end 'content'
Timing: Jan 31 2025 06:20:34
Script end

Main resources:

Total runtime0.0249 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.3828151.2422
Module start 'layout' 0.00560.0030 739.625036.6953
Module start 'content' 0.00870.0140 776.320394.1719
Module end 'content' 0.02260.0022 870.492233.9922
Script end 0.0249  904.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.4664140.0002
Check MTime0.00124.8760140.0001
Mysql Total
Database connection0.00093.638810.0009
Mysqli_queries0.002710.876330.0009
Looping result0.00000.068010.0000
Template Total0.00156.110.0015
Template load0.00103.959610.0010
Template processing0.00052.152710.0005
Override
Cache load0.00062.537610.0006
General
dbfile0.004718.839680.0006
String conversion0.00000.037340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs