Page 1 of 19
serviidb.com

Posted:
Wed Feb 22, 2012 1:22 pm
by moltra
I am ready for content to start being added and tracked in
http://www.serviidb.com. I am still working on the API that will allow third parrty applications to access the data. I am also working on the ability to translate or make the site multilingual. To add Media resources and plugins all you have to do is register on the site. I will need a few people to help maintain the terms that help sort and make it easier to find the content that is interest to you the user. I will be calling this group of people, Taxonomy Managers. This is what the system "Drupal" that I have created this site in, calls the terms. If you are interested in helping with this task. Please make a post in this thread.
http://serviidb.com/content/taxonomy-managers
Re: serviidb.com

Posted:
Wed Feb 22, 2012 2:55 pm
by zip
do you have some kind of table listing the items? or is it just a blog/article based system where you have to search?
Re: serviidb.com

Posted:
Wed Feb 22, 2012 2:59 pm
by Xmantium
+1 It should eventually be tabular format, makes it easier on the eye

Re: serviidb.com

Posted:
Wed Feb 22, 2012 3:24 pm
by moltra
Yes, there will be multiple ways of showing the items. I am working on a plugin sorting of content now. You select the plugin and it shows you all the titles and URLs for that plugin.
I had not thought about showing the information in a quick and easy to view table. I will work on that also.
Re: serviidb.com

Posted:
Wed Feb 22, 2012 9:21 pm
by moltra
I have created a table showing the following:
Plugin
title, URL
Re: serviidb.com

Posted:
Thu Feb 23, 2012 8:37 am
by will
Looking good, might be helpful to be able to sort the tables aphabetically?
CBS should be marked as USA only, not worldwide.
Re: serviidb.com

Posted:
Thu Feb 23, 2012 1:43 pm
by Xmantium
The table view should be the default view when a user accesses the site, after a user clicks program name then the full information should show
I used RoboForm to automatically fill out the 4oD data when it was the same, just copied and pasted the data i needed. Managed to add most popular 4oD shows.
Moltra can you delete the none plugins data you and i added before, i will add these back again with the correct plugin
Also it will be cool with the tables have more info, even better same icons appear next to URL stating its Video Source, web resource ect
done a mickup attatched
Re: serviidb.com

Posted:
Thu Feb 23, 2012 4:14 pm
by moltra
Where did you get the icons? It should be easy to add this. Just need to find a good source for the icons.
Sent from my DROIDX using Tapatalk
Re: serviidb.com

Posted:
Thu Feb 23, 2012 4:36 pm
by kairoh
Here is a proposal for a future REST API.
I will be ok to make some client (in java or maybe an extension to the WebUI

).
URL1- Code:
http://www.serviidb.com/api/<element>.<ext>
GET : list available elements
URL2- Code:
http://www.serviidb.com/api/<element>/<id>.<ext>?key1=value2&key2=value2
GET : show the element (html form/json/xml)
POST : update an existing element
PUT : add a new element
DELETE : delete an element (for admin only?)
where <element> is one of : "plugins", "video", "audio", "images"...
and <ext> is one of : "html" (default value), "rss", "json", "xml"...
Of course all URLs will not be mapped !
Sample (definitely to discuss and redefine!) :- Code:
GET http://www.serviidb.com/api/plugin
GET http://www.serviidb.com/api/plugin.html
=> list all plugin available (alias to http://www.serviidb.com/plugin-table)
GET http://www.serviidb.com/api/plugin/4od-uk
=> alias to http://www.serviidb.com/plugins/4od-uk-0
GET http://www.serviidb.com/api/video?plugin=4od-uk
=> alias to http://www.serviidb.com/plugins/4od-uk
GET http://www.serviidb.com/api/plugin/4od-uk.rss
=> alias to http://www.serviidb.com/taxonomy/term/46/all/feed
GET http://www.serviidb.com/api/video/fonejacker.html
=> alias to http://www.serviidb.com/tv-program/fonejacker
GET http://www.serviidb.com/api/video.html?key=12345678
=> alias to http://www.serviidb.com/node/add/media-recourse with key "12345678" (specific key to one user)
GET http://www.serviidb.com/api/video/fonejacker.html?key=12345678
=> edit form for tv-program "fonejacker"
POST http://www.serviidb.com/api/video/fonejacker.json?key=12345678
=> update in json for tv-program "fonejacker"
What do you think of this?
Re: serviidb.com

Posted:
Thu Feb 23, 2012 5:05 pm
by zip
I'd say for making new changes via the API you'd have to be logged in otherwise you're open to spam.
Not sure if I like using the content-type in the url (.json, .html, etc), couldn't we just use the appropriate headers (Accept in a case of GET, Content-Type in the case of POST/PUT).
I'd also use PUT everywhere instead of POST to make in indempotent (the client will have to provide ID for new entries).
I'd also start with something basic and useful from day 1 -> search for content. We can do plugins, update/delete/create requests, etc later, when we know what people use and we can re-visit the search functionality in a proper agile way

Re: serviidb.com

Posted:
Thu Feb 23, 2012 5:17 pm
by moltra
Yes for me at first simple is better. I am new at creating a rest server. those examples helped alot.
For changing anything on serviidb via rest server each app will have its own login info. To help protect the data and site.
Sent from my DROIDX using Tapatalk
Re: serviidb.com

Posted:
Fri Feb 24, 2012 2:25 am
by moltra
Xmantium wrote:The table view should be the default view when a user accesses the site, after a user clicks program name then the full information should show
I used RoboForm to automatically fill out the 4oD data when it was the same, just copied and pasted the data i needed. Managed to add most popular 4oD shows.
Moltra can you delete the none plugins data you and i added before, i will add these back again with the correct plugin
Also it will be cool with the tables have more info, even better same icons appear next to URL stating its Video Source, web resource ect
done a mickup attatched
I have the table setup, but if I put in on the front page it does not sort by plugin. I am going to continue working on it.
Update: Table on front page.
Re: serviidb.com

Posted:
Fri Feb 24, 2012 9:19 am
by kairoh
zip wrote:I'd say for making new changes via the API you'd have to be logged in otherwise you're open to spam.
Exactly that's why many GET don't need authentification.
zip wrote:Not sure if I like using the content-type in the url (.json, .html, etc), couldn't we just use the appropriate headers (Accept in a case of GET, Content-Type in the case of POST/PUT).
This is an
open debate, both can be implemented. I personally prefer url, cause we can easily test it in browser (especially GET request).
zip wrote:I'd also use PUT everywhere instead of POST to make in indempotent (the client will have to provide ID for new entries).
I'd also start with something basic and useful from day 1 -> search for content. We can do plugins, update/delete/create requests, etc later, when we know what people use and we can re-visit the search functionality in a proper agile way

I agree.
Templates

Posted:
Sun Feb 26, 2012 10:05 am
by will
Following on from ServiiDroid thread.
Templates/building blocks to help apps/consoles and users setup urls where they are ->infinity possibilities
These would usually be submitted/maintained by the plugin writers. They are effectively a more formal and structured way of writing what is often in the first post of the plugin threads.
- Code:
DisplayTitle=YouTube - Search terms
InputTitle1=Search term -> Result stored in VALUE1
Hint1=Serviio sony
InputTitle2=null -> Result stored in VALUE2
Hint1=null
ResultURL = http://gdata.youtube.com/feeds/videos?q=VALUE1
ResultTitle=YouTube - VALUE1
MediaType=video
Type=RSS
SpaceChar=+
Gives
Title = YouTube - Serviio Sony
URL =
http://gdata.youtube.com/feeds/videos?q=serviio+sony- Code:
DisplayTitle=iPlayer- Episode
InputTitle1=Episode code -> Result stored in VALUE1
Hint1=b01cks3v
InputTitle2=Title-> Result stored in VALUE2
Hint1=Top Gear - Series 18 - Episode 4
ResultURL = http://feeds.bbc.co.uk/iplayer/episode/VALUE1
ResultTitle=iPlayer - VALUE2
MediaType=video
Type=RSS
SpaceChar=null
Gives
Title = iPlayer - Top Gear - Series 18 - Episode 4
URL =
http://feeds.bbc.co.uk/iplayer/episode/b01cks3vThey could also have a short guide to finding things like the BBC iPlayer episode code, but this would be on the serviidb website only (as it would just be for first time users) and wouldn't be available in the different apps/consoles
Re: serviidb.com

Posted:
Sun Feb 26, 2012 11:16 am
by Larzendk
I get this error on top when i enter Servidb:
Notice: Undefined variable: debuggeron in google_analytics_counter_construct_content() (line 604 of /home/content/20/8959120/html/sites/all/modules/google_analytics_counter/google_analytics_counter.module).
Best regards Morten
Re: serviidb.com

Posted:
Sun Feb 26, 2012 12:25 pm
by Xmantium
@larzendk - there's an issue with the counter module not updating but doesn't effect anything else
@will - thanks for taking the idea on board, bet you didn't know bout iplayer episode playback. The more reason we need building blocks to guide other Serviio users
@moltra - can we keep serviiDB related posts in this one thread, get confusing which one to subscribe to and follow
Re: serviidb.com

Posted:
Sun Feb 26, 2012 5:48 pm
by moltra
Larzendk wrote:I get this error on top when i enter Servidb:
Notice: Undefined variable: debuggeron in google_analytics_counter_construct_content() (line 604 of /home/content/20/8959120/html/sites/all/modules/google_analytics_counter/google_analytics_counter.module).
Best regards Morten
Yes that is an error that should only show up one time. I have not had time to jump in that module and search that down.
Re: serviidb.com

Posted:
Sun Feb 26, 2012 5:49 pm
by moltra
Xmantium wrote:
@moltra - can we keep serviiDB related posts in this one thread, get confusing which one to subscribe to and follow
did not think about that.
Re: serviidb.com

Posted:
Sun Feb 26, 2012 6:09 pm
by Xmantium
It's cool, any big announcement just update the first main post
I'm not not sure if you ever used nzbmatrix.com, they do an amazing job keeping their thousands of records easy to navigate. Their table database format is the one we should aim for. They also have an api system in place anyone can access via api password given to each member who registers.
- Was hoping you can make the icons smaller. Probably favicon ico style icons. This way more content can be seen on one page.
- Also can you make each plugin to view in tables. So on the left section, when I navigate o 4oD, it shows the 4oD folder only.
I used serviiDB today when installing Serviio on a new machine and it was so easy having all the links on one page! This was manual input, can't wait when the api is in place!

Re: serviidb.com

Posted:
Sun Feb 26, 2012 6:26 pm
by moltra
I can make the icons smaller using 32x32 now can go to a smaller size. I am actually working on the API right now, trying to figure out how to setup the REST server. I can get back individual web resources if I know it's ID, trying to get so I can pull a list of ID's
I will look at that site and see what they have.
I am planning on carrying the tables to the plugin menu, but right now when I enable multi-languages the table stops working. So I do not want to create the new tables then have to go back and make changes if I to get the multi-languages working.