| Machine Nation Irish Politics Forum - Politics Technology Economics in Ireland - A Look Under The Nation's Bonnet
Devilish machinations come to naught --Milton |
|
| Newsfeeds on MN | |
| | Author | Message |
---|
Guest Guest
| Subject: Newsfeeds on MN Wed Apr 23, 2008 6:42 pm | |
| kewl i see your beavering away on the site.
could yo give the newsfeeds a box righ on the portal page rather then just a lin,maybe your going to do that anyway
i see your even giving politics.ie a feed DC might throw his suther at you for that.
ps on the portal page the left sidebar seems to be getting squashed. |
| | | Ex Fourth Master: Growth
Number of posts : 4226 Registration date : 2008-03-11
| Subject: Re: Newsfeeds on MN Thu Apr 24, 2008 1:48 am | |
| Well I tried a few ways of presenting many rssfeeds on the same page, last year I was trying to put all pol party feeds on one page, along with some media outlets to keep an eye on pre election stuff coming out etc. It certainly was not straightforward to do (for me at least) in PHP. This Google Gadget does it in a doddle ! - Quote :
- could yo give the newsfeeds a box righ on the portal page rather then just a lin,maybe your going to do that anyway
Which feed ? I had Breaking news feed on at one point, but we nicked the space for links. The multitab feed reader won't fit very well on the portal - Quote :
- i see your even giving politics.ie a feed DC might throw his suther at you for that.
I'm more familiar with the term num-num. DC might throw his num-num... - Quote :
- ps on the portal page the left sidebar seems to be getting squashed.
Did someone else mention that ? It looks Ok to me, though the top Nav Bar is still too long for the header - I intend to fix that. | |
| | | Guest Guest
| Subject: Re: Newsfeeds on MN Thu Apr 24, 2008 1:17 pm | |
| - EvotingMachine0197 wrote:
It certainly was not straightforward to do (for me at least) in PHP.
This Google Gadget does it in a doddle ! I was just reading about PHP (Personal Home Page) yesterday which was originally designed in 1995 to do a few odd jobs but quickly blossomed into a web tool or development language. I can't ever seem to place the different breeds of web-language into the overall scheme of things html, xml, uml, perl, python, javascript, php but it looks like some of those could be getting booted out by the Google Gadget thing you refer to there. The newsfeed is very impressive - looks like you can pick and choose your favourite news like you say... |
| | | Ex Fourth Master: Growth
Number of posts : 4226 Registration date : 2008-03-11
| Subject: Re: Newsfeeds on MN Thu Apr 24, 2008 2:02 pm | |
| I can write a small tutorial on the interactions between sql, php, html etc. at some point when I get time.
Web forums such as this are a good example to use for explaining this stuff.
In short, PHP scripts are executables which are executed on the server The PHP sends requests to get info (posts, usernames, topic titles etc) from a database in a structured format using select query language (SQL) - the database understands this language.
The PHP script now uses the info to dynamically generate HTML text, i.e a webpage such as this one you are reading now.
All of the above happens on the server side
The generated HTML then gets fired off to your browser.
HTML is just data, i.e text with tags to tell your browser how to display ( render) it.
However, it is possible to embed executables in a html file, and this is javascript comes in.
Javascript however, is executed client side, i.e. your computer in front of you.
More later.. and I hope the above is correct so far. | |
| | | Guest Guest
| Subject: Re: Newsfeeds on MN Thu Apr 24, 2008 9:43 pm | |
| These things are languages which different computers and different parts of computers either know or don't. HTML gets taken by your browser (Internet Explorer or Firefox) and turned into Human - so that humans can read it.
The browsers don't know PHP, however, because it is a much more complex language. For it to work, a computer might need a rake of translators, experts, compilers to translate it into something that can run on a server first and do the above that you said - create HTML dynamically .
Something like that? |
| | | Guest Guest
| Subject: Re: Newsfeeds on MN Thu May 01, 2008 12:38 am | |
| Just before you head off to America you couldn't ...
Just a question to you EVM - your newsfeeds google widget - is it possible to filter in only some journalist's work or only some newspaper columnists or only some posters from p.ie? |
| | | Ex Fourth Master: Growth
Number of posts : 4226 Registration date : 2008-03-11
| Subject: Re: Newsfeeds on MN Thu May 01, 2008 12:30 pm | |
| Nope. The gadget is only an RSS reader. It only reads what is published in the XML file by the website. The filtering would have to be done at the publishing end. | |
| | | Sponsored content
| Subject: Re: Newsfeeds on MN | |
| |
| | | | Newsfeeds on MN | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|