php - Adding XML feedback functionality to website -


few years made university website using php notices uploaded , students can see it.now want me develop android application can use notices website using xml parsing.

that is,the website should have dual functionality -it can accessed pc (like do) can accessed app.i can develop android app.that part ok.but problems on source-side(server-side).i have following questions :-

1)do have buy separate url xml responses , share old database?

2)if not , how can add xml feed functionality , how identify client whether pc or app(a guidance).

the website screenshot enter image description here

any tutorial appreciated.

do have buy separate url xml responses

no.

and share old database?

presumably want use same database. if want different content (as difference presentation of content) should have on different urls.

if not , how can add xml feed functionality

pick favourite php xml library.

and how identify client whether pc or app(a guidance).

don't try identify client is. identify sort of data wants. use the http accept header.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -