Nov 21, 2008, 08:11 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1]   Go Down
  Print  
Author Topic: News system - brainstorming  (Read 1897 times)
0 Members and 1 Guest are viewing this topic.
MadeMyDay
Moderators
*
Posts: 834



WWW
« on: Jul 17, 2006, 01:15 PM »

Hi,

I wonder how easy an enhanced news system can be done or especially HOW it can be done with modx. What do I mean with news system?

The modx document structure is hard to handle if you have a lot of news in different categories. Let´s say you have a online newspaper with about 50 news a day or a professional hockey club with >500 news a season. Of course you can put them as documents in different folders (=categories) and with ditto there is a powerful tool to display them in any way you want. But with the current manager/folder/document structure the news are hard to find and handle. I was wondering how to build a news system for modx and looked how other CMS do that. Okay, just looked at typo3 and joomla Wink While Joomla is no serious CMS or has a special news management, typo3 has a plugin that writes the news into a seperate news table and has its own news management in the backend.

For me features of a news system are (in no particularly order) regarding an example of a professional hockey club website with >500 news per season and the possible binding to the modx structure are:

  • Keywords: Possibility to add keywords to your news, for example "players,smith,victory". Could be done with an extra field in the document table and could also be used for tagging in blogs. The use of TVs also is possible but the not directly related to the document itself (yet), so export of the news´ data is difficult
  • Display: Can be done with ditto and templates
  • Management: Let´s say this hockey club doesn´t have categories where the news are put in (only one news category/folder) and the different displaying is only done with ditto. Then the management of these documents is very hard (500 documents in one folder...). So is it better to write these news in an extra table (like typo3) and build a extra manager for it or is it better to use the modx manager with a extra module that has more functionalities for handling the news/modx documents? For example ordering, searching for keywords, putting it to the layout, ordering, branding as top news and so on (perhaps via ajax ordering/drag&drop...)
  • Image management: I read something about an upcoming better image manager. For this purpose here it would be very useful (or better essential) to write attributes of the uploaded images to a database. Like keywords (see above), size, dimensions, alternative text (also essential for accessibility) and so on. Of course it then would be neccessary to browse these images by these attributes and put them easily into the editor area or in TVs. So I think this is practical feature anyway Wink
  • Roles, workflow and versioning: Just read that this on the way, so I think it can be easily made with 1.0.

Just think about big news sites like slashdot (only know german sites beside that, but I think you know what I mean Wink ). So another target group of modx could be heavy content based sites with frequent updating.

Perhaps a core developper could give a quick response how such a system could be done with the (upcoming) modx structure or if it would be better to design a new module/db-driven solution to handle a often updated and fast growing amounts of documents. What would be best for modx especially regarding the upcoming changes in the DB/manager structure?

1. Write a module for handling the current document structure?
2. Wait for the new structure and build a module for that?
3. Create an own news system, seperated from the document structure?
4. Everything on the new roadmap, shut up Cheesy

Regards,
Marc
Logged

PaulGregory
MODx's midnight runner
Moderator
*****
Posts: 1,095

MODx's midnight runner


WWW
« Reply #1 on: Jul 17, 2006, 01:43 PM »

I'm not a core developer, but I don't see any need to split news into a new table, as the present content table is sufficient for it. And most of the management problems would also occur in a large knowledgebase or other non-news site.

You can already do keywords.

The main problem is in the document tree view.
The ideal changes would be to:
1) Select which title field is used (I really think it should be the Menu title)
2) Select what order the documents are listed (ie by Menu Index or by date)
3) Have a "max children" setting, so that the News folder would list 10 stories and then a "...More Pages" link.
4) Have a listview of content pages, so page meta data can be seen in rows.
5) Have a "search content" facility in Manager to find the right page.

An alternative for 2) would be to have a routine that automatically set the Menu Index by the field of one's choice.

I'm not sure of the best way to do "Top News"; I have a similar requirement and have considered just having it in a different category. So one Ditto call would list all the Top News, then another all the other News. Effectively, Top News is a sticky - it is still at the top even though it may be older than less important news. Most other solutions end up with a dedicated field for that kind of thing.
Logged

No, I don't know what OpenGeek's saying half the time either.
MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
Forum: Where to post threads about add-ons | Forum Rules
Like MODx? donate (and/or share your resources)
Like me? See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!
MadeMyDay
Moderators
*
Posts: 834



WWW
« Reply #2 on: Jul 18, 2006, 02:37 AM »

Hi Paul,

Quote
4) Have a listview of content pages, so page meta data can be seen in rows.
5) Have a "search content" facility in Manager to find the right page.

These two points are very important for such a system. This could be combined with the AJAX-Sorting feature for a faster sorting of the items. The search facility should also display the results in this row view. Perhaps with an extra input field above each column for a quick search.

Quote
I have a similar requirement and have considered just having it in a different category. So one Ditto call would list all the Top News, then another all the other News. Effectively, Top News is a sticky - it is still at the top even though it may be older than less important news. Most other solutions end up with a dedicated field for that kind of thing.

Yes, I used a TV for this extra field, but would like to see this in the document table. Perhaps it would be possible to add a field that is customizable through another table. So you can put in this extra table the possible values for this custom field. Could also be used to define the language of this document or other custom things...

But you´re right, a different management view of the documents would be a first step.
Logged

dernier_recours
Member
**
Posts: 83



« Reply #3 on: Jul 20, 2006, 12:00 PM »

Quote
Of course you can put them as documents in different folders (=categories) and with ditto there is a powerful tool to display them in any way you want. But with the current manager/folder/document structure the news are hard to find and handle.

Why not something (a module?) that simply classifies news automatically by date folders?
example:

2006
    01
        news1
        news2
        ...
        news50
    02
    ...
    12
2005
    01
    02
    ...
    12
Logged

at the edge of dawn,
you ask yourself if your shadow did follow you down
all night long
MadeMyDay
Moderators
*
Posts: 834



WWW
« Reply #4 on: Jul 20, 2006, 12:04 PM »

Sure, but an extra manager would be imho neccessary because there is no possibility to sort, search (by tags or whatever). To put the documents automatically in a time-based (or in categories by tags) wouldn´t be a big problem I think, this could be done by a plugin. But the handling of large amounts of documents stay uncomfortable.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!