Tags addon

Post your requests for addons here, and discuss any addons in development here, as well.
Once an addon has completed development, it will be released in the "Addon Release" forum.

Moderator: Spunkmeyer

Tags addon

Postby Minimedj » Mon Feb 04, 2008 8:00 pm

Hello everybody!

I am looking for the add-on that can provide the following functionality:

    - Each content contributor (editor) can provide various tags for each news article.
    - It is possible to obtain list of all tags and for each tag number and list of tagged articles.

Usage: for example, I have different news categories:
    - News about hardware
    - News about software
    - News about market
    - etc.

For each news I can provide different tags (I can type my own, or I can select some previously created by me or by other editors ones). For example: For some news I was providing tag “Perlâ€Â
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Minimedj » Tue Feb 05, 2008 9:37 am

Ok guys,

I decided to create such a plug-in myself (I am not a programmer but I will try my very best). I took FakeSQL as a starting point.

It will work only with SQL database so far.

I don't really know if I can finish it or not, but I hope for the best and I hope that if I have question, you guys will help me :-)

So, let's start :-)

p.s. I call it TagsSQL
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Jackanape » Wed Feb 06, 2008 4:11 am

Very excited to hear more about it! I'll be following your progress keenly!
A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
-Robert A. Heinlein
User avatar
Posts: 632
Joined: Tue Jan 09, 2007 12:15 am
Location: Capitol of the Great State of New York

Postby Minimedj » Wed Feb 06, 2008 8:37 am

Ok, here is some additional info:

TagsSQL add-on:
- I already created Admin + automatic tables creation + some hooks
- Now I have think and develop all needed business logic, and this is it...


Another issues:
- Coranto has great idea behind. Great implementation, but quite pure user interface... Maybe it was good in '98... but not now...

I've a little bit pumped up cra_changedatenew.pl add-on. Now it has javasctipt calendars, at least you don't need to enter date manually every time...
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Minimedj » Wed Feb 06, 2008 11:13 am

Just an idea... If Coranto code developers are here, maybe you guys can tell me something about it...

Text based database is a little bit out of the date... Unfortunately it is more or less impossible to build something serious on it...

BUT: the rest of Coranto is Great! Most important thing for me is a very nice way of integrating new features/add-ons into the system!

So, maybe it is reasonable to provide some sort of framework that has only:

- basic admin interface (config management, user management, rights management and add-ons manager + add-on development interface)

The rest could be implemented as a add-ons buy those who needs them?

For example, now I have problems with huge amount of data that cannot be stored in newsdat.txt but database could manage it easily... So, I would love to develop such a add-on but current newsdat.txt integrated too deeply into Coranto so, I don't know where is easier to work with Coranto or to start from scratch...

Guys, I hope you understand my point... Please, give me some feedback...

If we find nice way to handle it, I think that I can bring professional developers to develop some add-ons...
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Minimedj » Thu Feb 07, 2008 8:32 am

Hello guys!

(I hope that somebody reads this thread :-)

TagsSQL is 80% ready. It will provide only admin functionality, all user-end and visualization functionality, you have to implement yourself (it is because everybody needs something different)...

I will create new add-on which I will call SimpleNews.

It will use MySQL to store data. It will have tree-like news categories structure for storing news (each leaf in the tree could store as many news as you wish).

Also, news will has different types of ids:
- unique number id
- self-explanation id like "News+about_something+interesting"
- tag id (this is a little bit tricky) "2008/02/07/newsTag"

- Also, since it will have tree like structure, it will be possible to show something like this on to of each news: "yoursite.com > news > animals > monkey > politics" as well as have SEO friendly URLs like: h**p://yoursite.com/news/animals/monkey/politics/<here_goes_newsid>

- also I am thinking about feature like "related news", but I have to think how it is possible to use TagsSQL add-on, coz it has similar functionality


Yeah... Also, I had to make some modifications on core files, so, I don't really know if it worth to share it publicly (I don't think it could crash something, but I am not sure 100% :-)

If Coranto developers ok with it, I would like to start new project out of Coranto sources (I will use only functionality described in a message above)

p.s . I just read licence agreement. I will also use MIT licence and I will always refer to Coranto website.

p.s.s. I will be back :-)
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby SrNupsen » Thu Feb 07, 2008 1:06 pm

Hello you :)

Yes, I'm reading this thread and I'm happy to see this initiative. However, no core developers have been around here for some time now, so any support for non-flat-file database formats is postponed indefinitely (allthough it has been heavily discussed in the past).

Looking forward to see what you can accomplish with your addon!
Coranto is free software. I am available for custom work or troubleshooting.

http://www.sundaune.no - transkripsjon, webdesign, nettsider, tekstbyrå
http://www.vagbladet.no - satire, politikk, kultur, sport, nettavis
Posts: 2229
Joined: Tue Jan 09, 2007 6:46 pm
Location: Nesodden, outside Oslo, Norway

Postby Minimedj » Thu Feb 07, 2008 1:56 pm

:-) Thank for commenting :-)

So far everything is fine :-)

Just made some minor modifications:
- Moved all addons to addons folder, now there is no such a mess as before...
- Created DBConnector addon - one point to configure database access

- Now thinking about SimpleNews addon (today will finish with categories tree management)
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Minimedj » Tue Feb 12, 2008 8:13 am

Hello everybody!

So far:
- Finishing developing SimpleNews add-on (all business logic will implemented as stored procedures for MySQL)

- When it is done, I will implement user/group/rights management as additional add-on.

- After that, I cut away all existing user management, news management and will try to clean up all code (you should remember that I am not a programmer).

I think this system has very big potential! :-)

Most important thing is that it is very easy to extend it!!!

Regards :-)
Posts: 8
Joined: Mon Feb 04, 2008 12:37 pm

Postby Elenzi » Mon Feb 18, 2008 7:37 am

hi,do you finish it i am interstead ,i would like to have it for my news
Posts: 21
Joined: Thu Feb 14, 2008 2:11 pm

Return to Addon Development and Requests

Who is online

Users browsing this forum: No registered users and 1 guest