/srv/irclogs.ubuntu.com/2010/04/08/#ubuntu-website.txt

newz2000Anyone here ever make a facebook app before?14:54
thorwilnewz2000: are you considering to write a farmville contender? :)15:07
knomenewz2000, how can you make a facebook app before you make one?15:07
newz2000Someone suggested making a facebook app for the countdown15:07
newz2000I'd support someone in the community if they wanted to do it15:08
* thorwil hands knome a better parser15:08
* newz2000 doesn't define support yet15:08
knomethorwil, :P why better parser15:08
knomei'm not even on facebook!15:08
* thorwil -> coffee15:09
ofirknewz2000: do you have a sec?15:42
newz2000ofirk: yes, I will make one for you15:43
* newz2000 has been ignoring ofirk too long15:43
ofirknewz2000: thanks :)15:43
ofirknewz2000: can you give me an update about the download page?15:43
newz2000No changes yet, and to make matters worse I'm fearful that something drastic may need to be done15:44
newz2000As in, the ability to manage it through www.ubuntu.com (even using an iframe) may vanish15:44
newz2000I was thinking about this last night as I laid in bed actually15:44
ofirkwow :)15:45
ofirkis there something I can help with?15:45
ofirkI really want it to go smooth15:45
newz2000yeah, smooth is good15:45
ofirkso, what are your thoughts?15:46
stasnewz2000: i wrote a facebook app some time ago15:46
newz2000what you proposed, as in the html you suggested, looks fine. But I think we should have a fall-back plan15:46
newz2000ofirk: something clever, ideally that doesn't use php15:47
newz2000stas: and you loved it so much that you wanted to write another one?15:47
ofirkwhy we need php for? the mirror list?15:47
newz2000yes, it gets pulled in the form of an RSS feed from launchpad15:47
stasactually i got the code i used under gpl, so yeah, I would love to make another one :)15:47
ofirkwhat about using js to do all the processing?15:48
newz2000stas: will you be around for a bit? I'm wondering if we can talk through it after ofirk?15:48
ofirkwe can pull the mirror list, just like a JSON request15:49
newz2000requires xss to grab an rss/xml feed across domains15:49
stasnewz2000: may i prv you to tell you my email, I think its the best way to stay in touch, though I'm lurking around often15:49
newz2000stas: yep, sounds good15:50
newz2000ofirk: I'm ok with that line of thought, but lets take a step back15:50
newz2000what's the best experience we can provide w/ no code other than html/css?15:50
ofirkno mirrors15:50
ofirkwe can link only to ubuntu's main server15:51
newz2000Hmm... even something like this would be impossible: http://www.ubuntu.com/getubuntu/downloadmirrors#mirrors15:51
ofirka list of mirrors is scary15:52
ofirkit should be simple15:52
newz2000yeah, that too15:52
* newz2000 has an idea, just a moment15:52
jpdsLet's put in the mirror redirect magic.15:52
newz2000jpds: have you seen the code (or know how it works) for the new download page?15:53
jpdsnewz2000: No...15:53
newz2000jpds: what were you referring to?15:53
jpdsnewz2000: The redirection for downloads at http://www.ubuntu.com/getubuntu/download15:54
newz2000ofirk is trying to do this for kubuntu.org15:55
newz2000and they have no php access on that site15:55
ofirkmirror redirect requires some short of php15:55
ofirknewz2000: you said you had an idea15:56
newz2000I do actually... I'm looking at the code for the new download page and it looks like it could be easily extended to work for kubuntu15:56
ofirkcan you send it to me so we both can take a look of it?15:57
newz2000no, but here's how I imagine it working15:57
newz2000there will be a form that submits (using post) to a special URL on ubuntu.com15:57
newz2000and it redirects to the iso image15:58
newz2000so people don't even leave the page they're on when they start the download15:59
ofirksounds fine15:59
ofirkcan ubuntu.com also pick the closest mirror?16:00
ofirkso we can remove the mirror list from the download form...16:00
newz2000yes, it does that magically. :-)16:00
newz2000ofirk: in the kubuntu admin area do you see the list of modules that are enabled?16:01
ofirki don't have access to the production site16:01
newz2000ofirk: oh, who would be able to check?16:02
ofirkI will ask Riddell16:02
newz2000ok. have him look to see if there's a module called "Ubuntu"16:02
ofirkI think he is here, I will try...16:02
newz2000don't change anything yet, just check16:02
newz2000no rush, I'm still thinking of plan "b" stuff16:03
ofirkRiddell says there is no such module called Ubuntu16:05
newz2000bummer16:05
ofirkwhat is this module?16:06
newz2000it's custom code for the ubuntu website16:06
ofirkI really don't understand how the kubuntu website is running16:07
ofirkif it is based on drupal, how it can't have php?16:07
newz2000It's a hardened version of Drupal 6, basically16:07
ofirkeach theme comes with a php file16:08
newz2000the ability to add PHP code through the browser interface has been removed16:08
ofirkbut if we include a php file with the theme, which does the mirror listing form launchpad, will that work?16:08
newz2000yes16:10
newz2000but the theme isn't really the right place to do this I think16:10
newz2000because you don't want it to happen on each page view16:10
ofirkwe can include it inside template.php and execute it only through the download page16:11
ofirkactually, it will be run everytime, but only do something when the download page is accessed16:11
newz2000ok, lets consider that an act of desperation16:12
ofirkthe proper way is to implement it through a module, but I guess that is too complicated16:13
newz2000We'll see16:16
ofirkdo you have something more on your mind?16:17
newz2000I'm still hoping that Plan A will work, basically reusing ubuntu.com's solution16:17
newz2000I'm going to focus my energy there16:18
ofirkDo you need me for Plan A? Alter the download page or something else?16:19
newz2000It will take some re-thinking of the download page a bit16:19
newz2000I've marked your message in my inbox, I will try to follow up with you by about this time tomorrow16:20
ofirkOK16:21
ofirkthanks!16:21
cjohnstonhowdy17:30
newz2000stas: still around?17:58
stasnewz2000: yep17:59
newz2000Someone suggested making a facebook app /sidebar for the countdown18:00
newz2000seems like a cool idea to me18:00
newz2000I don't have time to do it though18:00
newz2000Does that sound like something that you'd like to try to pull off?18:01
stasyes that doesn't sount like too complicated18:03
stasi think i can write it quick18:03
newz2000what is needed to do it?18:03
stashmm, some informations, It would be cool to have the banners location URI persistent and change the pics once a new release is coming18:04
newz2000right now the banner's img tag is written w/ js18:04
newz2000and the path to the js file is persistent18:04
stasthats not good, fb proxies the html you send to him and you might not get the same html ids after18:05
stasI would go plain php rotation18:05
newz2000Currently we do a very simple document.write()18:05
stasi'll try with js18:06
newz2000do any files need to be hosted?18:06
stasbut my experience with fb and third-party js files was not that successful18:06
stasnewz2000: nope, I will host it on ubuntu.ro until its reviewed18:06
stasif it's ok18:06
stasyou can move it18:07
newz2000will it be PHP or will it just be plain HTML?18:07
stasill publish also the code on lp18:07
stasphp, i need that to connect to fb api18:07
newz2000ok, I thought so. That will be an interesting problem to solve.18:08
stasalthough, i didnt try with plain html, maybe it will work18:08
stasill play with both approaches18:08
newz2000ok, static content == easy to deploy for us18:08
stas+1 for that too18:08
newz2000but if it's not possible, so be it18:08
stasif the js take won't work, php will be required18:09
stasfor image rotation18:09
newz2000yeah18:09
stasoky give some time, maybe until tomorrow i'll get it up18:10
stasthe idea is to have a landing page18:10
staswhere user will be able to push a button that will add a widget to his profile18:10
newz2000yeah18:10
stasthe widget will contain the countdown banner image thats all18:11
stasgood :)18:11
newz2000Thanks for explorign this...18:11
newz2000it'll be interesting to see if we can pull it together18:11
stasbtw, newz2000 I wont get into the design part, so you'll have to take care of it :)18:11
newz2000no prob18:12
stasgreat, lets see if we make it together18:12
ofirk-*- what20:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!