Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Appiast and Bookitics annotations. #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions annotations/net.appiast.apprating.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!-- give your annotation a title -->
# App rating

<!-- specify the "type" for your annotation -->
> ### net.appiast.apprating

<!-- provide a description of what your annotation represents -->
Identifies a post as an app rating and contains additional app rating data.

In addition to the annotation described here, app rating posts contain an attached app icon image which is provided via the standard App.net mechanism using a net.app.core.attachments for Appiast 1.1.0 and up or a net.app.core.oembed for Appiast 1.0.0.

Posts created by Appiast 1.0.0 contain an additional net.appiast.app.XXXX annotation that was used to find ratings for the same app. This annotation isn't used anymore as it created a new annotation for each app which could eventually have negative effects on the performance of app.net. Instead of this annotation Appiast 1.1.0 and newer use the iTunes App Store URL to which the app name in an Appiast post links to find ratings of the same app.

Also the standard hashtag mechanism is used to tag app ratings in order to define what kind of app the rated app is.

The post text contains
* the name of the app which is also a link to the app in the app store
* As much of the first paragraph of the app review as fits into the post
* Five stars that reflect the rating of the app by being filled or empty (e.g. ★★★☆☆) which is also a link to appiast.net showing the full text of the review
* The tags given by the user

<!-- provide at least one example of what your annotation might look like in the wild -->
## Example

~~~ js
{
"type":"net.appiast.apprating",
"value":{
"app_name":"Appiast",
"app_type":"iOS",
"review":"Appiast is an app for writing and finding reviews of other apps. Reviews ...",
"full_review_url":"",
"rating":5,
"app_id":"868774614"
}
}
~~~

<!-- provide a complete description of the fields in the "value" object for your annotation -->
## Fields

| Field | Required? | Type | Description |
| ----- | --------- | ---- | ----------- |
| `app_name` | Required | string | The name of the app |
| `app_type` | Required | string | The type of the app. Currently there are "iOS" and "Mac" |
| `rating` | Required | integer | A rating of the app between 1 (lowest) and 5 (highest). |
| `review` | Optional | string | A short review of the app.|
| `full_review_url` | Optional | string | The URL of a longer review of the app |
| `app_id` | Optional | string | The id of the rated app in the specific app store or other source of apps. |


<!-- provide a way to contact you -->
## Maintainers
* Robert Beeger [@robertbeeger](https://alpha.app.net/robertbeeger), [[email protected]](mailto:[email protected])

<!-- provide references to compatible apps / service -->
## Used by
* [Appiast](http://appiast.net)

<!-- provide references to related annotations -->
## Related annotations
* [net.app.core.oembed.md](net.app.core.oembed.md)
* [net.app.core.attachments.md](net.app.core.attachments.md)
15 changes: 9 additions & 6 deletions annotations/net.bookitics.bookrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
<!-- provide a description of what your annotation represents -->
Identifies a post as a book rating and contains additional book rating data.

In addition to the annotation described here, book rating posts may contain an attached book cover image which is provided via the standard App.net mechanism using a net.app.core.oembed.
In addition to the annotation described here, book rating posts may contain an attached book cover image which is provided via the standard App.net mechanism using a net.app.core.oembed.

Also the standard hashtag mechanism is used to tag book ratings in order to define to which genres the rated books belongs.

As it is currently not possible to search for posts containing specific annotation values, the post text contains the author and title of the book. Book ratings created based on another book rating also contain the book id as a hashtag #bid&lt;book_id&gt;, which allows to find other posts rating the same book.
The post text contains:
* As much of the author and title of the book as fits into the post text
* As much of the first paragraph of the review as fits into the post text
* Five stars that reflect the rating of the app by being filled or empty (e.g. ★★★☆☆) which is also a link to bookitics.net showing the full text of the review
* The tags given by the user

<!-- provide at least one example of what your annotation might look like in the wild -->
## Example
Expand Down Expand Up @@ -39,17 +43,16 @@ As it is currently not possible to search for posts containing specific annotati
| `rating` | Required | integer | A rating of the book between 1 (lowest) and 5 (highest). |
| `short_review` | Optional | string | A short review of the book.|
| `full_review_url` | Optional | string | The URL of a longer review of the book |
| `book_id` | Optional | string | The id of the rated book. This is the post id of the post which is the first rating of the book. If not present, the book rating becomes the book defining rating for any book rating based on it. |


<!-- provide a way to contact you -->
## Maintainers
* Robert Beeger [@robertbeeger](https://alpha.app.net/robertbeeger), [[email protected]](mailto:[email protected])
* Robert Beeger [@robertbeeger](https://alpha.app.net/robertbeeger), [[email protected]](mailto:[email protected])

<!-- provide references to compatible apps / service -->
## Used by
## Used by
* [Bookitics](http://bookitics.net)

<!-- provide references to related annotations -->
## Related annotations
* [net.app.core.oembed.md](https://github.com/appdotnet/object-metadata/blob/master/annotation/net.app.core.oembed.md)
* [net.app.core.oembed.md](https://github.com/appdotnet/object-metadata/blob/master/annotations/net.app.core.oembed.md)