Search Wiki:
athena.gif

In greek mythology athena was a godess of wisdom. But here Athena (also known as LINQ.flickr) is a LINQ to flickr API that let you query and make changes to flickr photo stream with the first-class query syntax called LINQ. it can be used to query (search by tag, literal or user) , insert or delete photos, add/ delete comments, query popular tags, people, do authenticaton and more by an easy way thus making app building joyful.

Features
- Add/remove photos feature, just like LINQ to SQL objects.
- View single photo (currently , supports , single, first, last for single viewing)
- Automated login process, supported both for desktop and web application.
- Take and Skip methods. Eg. Skip(1).Take(20), means - Page 2, page length 20
- Full text Search by SearchMode.FreeText
- Tag only search by SearchMode.Tags with TagMode := AND or OR.
- Search by user along with SearchText.
- Comments Query, add / delete.
- List of popular tags. (sort them by title or score).
- Query people by NSID or username.
- Order by asc/dsc by Datetaken and DatePosted.
- Anon query projection.
- Query people , by username or nsId
- Query Popular tags, order by score , title or period
- Query photos by Extras option , Turn on Safe Search.
- Update Photo Title, Description, Update comments.
- Easy interfaces for authenticaton.

Current release 1.4

Authentication
API is responsible for taking user from main app to login process to granting API access and continue where he is left off.

Token Storage
Location where the auth_token is stored , after user returns from flickr site (web app) or closes the browser (desktop app), doing with authentication and granting the app.

Desktop Application - Inside an Xml file. Path is defined by user in app.config
Web application - User cookie, valid for 30 days.

Which means, user will be taken for authentication once to flickr site, when he/she queries private or semi-private photo.

Requirements for using Athena
- .Net framework 3.5.
- API and Secret key. You can get one for free, from http://www.flickr.com/api

Builidng the source
There is a build.bat in the root of the src folder. Just run it to make your own build. If Typemock is installed in your pc it will also do a unit test. NAnt and Nunit
Stripped down version is added with the src, only you need to change the Typemock path in Main.Build if you install typemock other than 4.3.*.

Application showcase
FlickrXplorer - An MVC flickr photo explorer http://www.codeplex.com/flickrXplorer

API on which it is built
LinqExtender http://www.codeplex.com/LinqExtender

Reference
New LINQ proivder for Flickr - http://weblogs.asp.net/mehfuzh/archive/2007/10/28/new-linq-provider-for-flickr.aspx

Also try other posts to get the lastest info.
http://weblogs.asp.net/mehfuzh/search.aspx?q=linq.flickr&o=Relevance

pow_by_linqExtender.gif VerifiedWithTypeMock.png

Last edited Jul 28 at 7:13 AM  by mehfuzh, version 55
Comments
SCMcDonnell wrote  Nov 15 2007 at 9:06 PM  
This is ingenius. Well done.

mehfuzh wrote  Nov 18 2007 at 7:54 AM  
Thanks, nice to see that people liking it.

Lck wrote  Feb 18 at 11:00 AM  
Great idea! :)

Updating...