Ah right, thats a bug, took a look at everything else and its fine. You should actually be able to just use a bobus id for that since it is not used.

Fix is pushed btw, but I'm waiting til monday to get a bugfix release out ;)

Item ids are unique but we used to update items by deleting and recreating them (its complicated). This release doesnt use updates anymore, but for the sake of compability we keep it this way. This also allows us to maybe get it back in if we need to. And it doesnt really hurt to use two params imo ;)

On 07/19/2013 07:15 PM, Peter Hedlund wrote:
On Jul 19, 2013, at 9:30 AM, Bernhard Posselt <[email protected]> wrote:

- The id that you need to create a feed is a folder id. use 0 if you dont want 
to create it in a folder.
I am talking about this (line 278 in routes.php):

$this->create('news_api_feeds_create', 
'/api/v1-2/feeds/{feedId}')->post()->action(
        function($params) {
                return App::main('FeedAPI', 'create', $params, new 
DIContainer());
        }
)

A feed id must be added to the path (route) when it shouldn't be needed. Any number seems 
to work, but it has to be added as it is now. E.g. "/feeds/3".


- The reason for the starred route is because of updated articles. I wont go 
into too much detail, but it allows us to update an article and still star the 
correct one.
OK, no details, but aren't item ids unique?

Peter

On 07/19/2013 06:13 PM, Peter Hedlund wrote:
OK, because I had some concerns about the API (if this has not been changed):

- The path to add a feed requires an id (contrary to the documentation) 
although the newly added feed of course returns it's own unique id.
- The path to star an item is very different from the path to mark an item read 
even though both basically do the same, i.e. set a flag on an individual item.

Otherwise everything has worked for me and even though it was my first time 
with JSON it proved remarkably simple on iOS.

Peter

On Jul 19, 2013, at 9:03 AM, Bernhard Posselt <[email protected]> wrote:

Just released 1.2

Really cool btw :)

Now we got a:

* BB10 app (also runs on jolla and android apparently)
* Windows Phone app (Icewind)
* Android app
* iOS app

That should cover most of the platforms :)

On 07/19/2013 09:47 AM, Adam Pigg wrote:
Are you finding that users are happy about ising the git version of the news 
app?  Ive been holding off releasing anything to the markets until the news app 
is released.

I think i should probably now implement the read/starred functionality to keep 
up ;)

Adam


On Fri, Jul 19, 2013 at 8:43 AM, Frank Karlitschek <[email protected]> wrote:
Hi Peter,

this sounds definitely more than interesting. We are missing an iOS app at the 
moment.
Let me know if you need any help.


Frank


On 19.07.2013, at 02:27, Peter Hedlund <[email protected]> wrote:

Hi,

I have done some work on an iOS (currently iPad only) client for the News app. 
See https://github.com/phedlund/iOCNews. Is there any interest in such an app?

If you want to get a general feel for the interface you can check out my standalone 
feed reader FeedDeck in the Appstore 
(https://itunes.apple.com/us/app/feeddeck/id566967636?ls=1&mt=8).

Things that should work:
- requires API version 1.2 of the ownCloud News app.
- initial sync.
- staying up to date.
- mark items as read.
- star and unstar items.
- add new feed.
- delete feed.

Things that do not work:
- no iPhone/iPod touch interface yet.
- folders are not implemented.

Feedback much appreciated (e. g. a better name).

See also http://forum.owncloud.org/viewtopic.php?f=23&t=13571.

Peter
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud



_______________________________________________
Owncloud mailing list

[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to