The Joomla! Forum ™






Post new topic Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Wed Jan 09, 2008 1:19 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Hi,

As mentioned before, I would choose a coding task when one is there.
So, I claimed this one. :)

Quote:
   One line summary
Create a Joomla! v 1.5 Module for Digg List Stories

Describe the task.
Create a Joomla! v 1.5 Module allowing the site developer to set a topic
parameter. The module should list the most recent stories based on that topic.

Resources:
    * Digg:
   # http://apidoc.digg.com/ListStories
    * To install Joomla! on an XAMPP localhost:
   # XAMPP - http://www.apachefriends.org
   # Download Joomla! - http://help.joomla.org/content/view/1942/302/
   # Install Joomla! on a localhost - http://help.joomla.org/content/view/1947/306/

    * Coding resources:
   # The core code! :-)
   # Plugins - http://forum.joomla.org/index.php?topic=233628
   # Model View Controller - http://dev.joomla.org/component/option, ... orld_mvc1/
   # Modules and Components - http://www.jlleblanc.com/blogcategory/0/
   # Internationalization - http://forum.joomla.org/index.php/topic ... msg1102267

    * IRC #joomlaGHOP on freenode

Skills needed
    * Knowledge of PHP
    * Knowledge of Joomla! v 1.5 Extension Development
    * Creativity and problem solving skills

Difficulty
Basic

Work Product
    * Installable Joomla! v 1.5 extension(s) with internationalization support.

Licensing
All code must be created using the GNU General Public License version 2.
http://www.gnu.org/licenses/old-license ... .html#SEC4

Documentation written for this task must be made available under the
Joomla! Electronic Documentation License.

Extra Credit (Optional)
1. Register your project at Joomlacode
2. When you are ready to release, submit your extension to the Joomla!
Extensions Directory.

Time Limit
2 weeks.


- localhost was already installed. Whickh version of 1.5 should I use to test? The Joomla test package, a nightly build or the RC4?
- My idea was that you could select between 8 categories (Technology, World & Business, Science, Gaming, Lifestyle, Entertainment, Sports and Offbeat). I found the rss feeds (and so: xml links) here: http://www.digg.com/about-rss Perhaps also include the all news link.
A particular feed-item looks like this:
Code:
<item>
  <title>Teacher Sends Nude Pictures to Student</title>
  <link>http://digg.com/people/Teacher_Sends_Nude_Pictures_to_Student</link>
  <description>A high school gym teacher accused of sending nude photos of herself to a 14-year-old freshman at her school has admitted to having sex with the boy, police said Monday.</description>
  <pubDate>Wed, 9 Jan 2008 12:04:31 GMT</pubDate>
  <guid isPermaLink="true">http://digg.com/people/Teacher_Sends_Nude_Pictures_to_Student</guid>
  <digg:diggCount>179</digg:diggCount>
- <digg:submitter>
  <digg:username>michaelnew20</digg:username>
  <digg:userimage>http://digg.com/users/michaelnew20/m.png</digg:userimage>
  </digg:submitter>
  <digg:category>People</digg:category>
  <digg:commentCount>97</digg:commentCount>
  </item>

- only the title, link, description and pubdate is needed I think? Or do I also need the guid?
- I think I can implement this .xml file with JSimple XML?

Thanks,

Marieke

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Last edited by Marieke92 on Sun Jan 20, 2008 11:15 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Fri Jan 11, 2008 2:12 am 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Hi :)

I already did something.
- You can choose between the categories
- On the frontend 1 item will be displayed with linked title and description
- 2 .ini files are added (en-GB and nl-NL)

Only a few problems..
- I'm not able to install it on a server. With localhost everything goes fine. I got this error:
JFTP::write: Bad response
Unable to write entry

Unable to find install package
But all FTP-layer settings are correct and folders are writable.
Does some one know what goes wrong?
Edit: Problem solved; new zip added. The zip programme which I used wasn't doing its work correctly...

- With the installation, the description of the module isn't displayed from the .ini files, but just the 'string': descriptionmodule.
- How can I add the date of the feed? Because there's no get_pubDate() function available. I tried things with get_item_tags and get_channel_tags but it didn't succeed.

Things I want to add or modify to the module:
- Option to select how many feed items you want to display
- The date added to the feeds
- Options to select whether you want linkable titles, want to display the title, want to display the description, etc.
- Set the caching or perhaps a warning when the caching is off.

draft1 (which doesn't work on a server but does on localhost) is added as an attachment!

Marieke :)


You do not have the required permissions to view the files attached to this post.

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Last edited by Marieke92 on Sat Jan 12, 2008 3:08 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 4:14 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Hi! :)

My draft2 version is attached.
It works perfect, both on a RC3 and RC4 localhost installation, and also on my server it works on the RC3 and the RC4 installation.

Still some problems I'm facing..
- The 'descriptionmodule' which doesn't shows the description from the 2 .ini files
- How to show the date?

And the work which has to be done still..
- A linked category title (links to the page on digg.com for this particular category)
- Caching time etc.
And that would do the trick I think :) Or do you want to see more options?

Looking forward to hearing from you :)

Marieke


You do not have the required permissions to view the files attached to this post.

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Last edited by Marieke92 on Tue Jan 15, 2008 10:26 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 10:30 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
And I think I'm finished! :)
All earlier problems solved.
I tested it on rc3, rc4 and the joomla1.5package from the testing of unit test plans. Both on a server and on localhost.

Is it correct? Do I need to improve something?
May I add it to extensions.joomla.org?
And may I already upload it to the topic on the ghop site?

Marieke :)


You do not have the required permissions to view the files attached to this post.

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Last edited by Marieke92 on Tue Jan 15, 2008 10:32 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Tue Jan 15, 2008 10:50 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 03, 2007 7:32 pm
Posts: 146
Location: Weesp, NL
I have just downloaded and tested the Digg module, and it works really fine! I tried every available option and combination and I couldn't find any problem.

So Marieke92 has done a good Job!

BTW: The Dutch community is really proud on her, so we decided that she deserved a news item on DutchJoomla.org: http://www.dutchjoomla.org/content/view/1037/151/ (for dutch readers  ;))

_________________
Sander Potjer - Joomla Community Leadership Team

http://www.aclmanager.net - Joomla! ACL simplified
http://www.perfectwebteam.nl - Perfect Web Team


Top
 Profile  
 
PostPosted: Fri Jan 18, 2008 4:31 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
I know you guys are very, very busy :) Especially with the upcoming Doc-Camp and release of 1.5 Stable
But can some one please have a look at my module?
Then I can add or modify features this weekend.

Date claimed: 9th of January
Date due: 22nd of January


Looking forward to hearing from you! :)
Marieke

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Top
 Profile  
 
PostPosted: Fri Jan 18, 2008 9:35 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Nice work!

Installed beautifully, worked as advertised and passed my uninstall then reinstall test. :)

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Sun Jan 20, 2008 6:47 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4785
Location: Toronto, Canada
I approve of this task also.  Great work!

Ian


Top
 Profile  
 
PostPosted: Sun Jan 20, 2008 6:54 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Marieke,

Go ahead an upload at google. :)

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Sun Jan 20, 2008 11:10 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Thanks! :)

I can't upload it to Google code; Issue attachment storage quota exceeded.
I can't upload it to joomlacode.org as well, I need to create a new account and I only get 'Could not get User' errors.

Anyway, you could download the final version here:
http://www.mariekevandertuin.nl/mod_digg_listing.zip
Changes made:
- Correct order of XML file (as DTD)

I added the link to the Google topic as well.
Issue 95 claimed as a final task :)

Marieke

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Top
 Profile  
 
PostPosted: Mon Jan 21, 2008 12:16 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
Marieke -

How about jumping right into the developer pool and get yourself signed up with JoomlaCode.org? Then you can store your extension there just like all of the other third party developers. The next step is to sign up on the Joomla! Extensions Directory and get that extension listed out there. Then, community members will find it, go to your JoomlaCode location and download it.

That is what we would *love* to see.

Now, I am proud of you for grabbing a development task and for all you do. Also, I want to thank zanderp for sharing with us that amazing article that even those of us who cannot read Dutch can read when we use our nifty FoxLingo extensions!

Two things are obvious to me - first of all, the Dutch community takes care of one another, and there is nothing better than that, IMO. Secondly, Marieke is special and she has made Joomla! better in many ways, all over the world.

Marieke - think about JoomlaCode and JED. If you have questions, *we* can help *you*, too!
Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Mon Jan 21, 2008 12:24 am 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Thanks! :)

As written; I tried to create an account on Joomlacode, but everytime trying to verificate the account, I got an error; 'Could not get User'.
I'd love to upload it to joomlacode, but I can't (yet?..).
Hopefully it will work another time, so I can upload it (and thus add the extensions to the Joomla! Extensions Directory, where I already have an account).

Marieke

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Top
 Profile  
 
PostPosted: Mon Jan 21, 2008 12:28 am 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
I'm sorry! I saw the Google upload error, which we've had for awhile now, and didn't read closely on the JoomlaCode error.

Go ahead and post your error in the JoomlaCode Board. That's where the expertise and help can be found on that resource. (Forgive me if you already did so and told me, too!  :P )

I am so happy that you are moving in this direction, as well. You are multi-talented!

Amy :)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
PostPosted: Sun Jan 27, 2008 6:31 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
Still haven't got JoomlaCode working on my computer. Problem can't be solved anyways.
But I was able to upload it from another computer.
Here's the result! :)

http://extensions.joomla.org/component/ ... Itemid,35/

Link posted as well at the GHOP topic.

Marieke :)

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Top
 Profile  
 
PostPosted: Mon Jan 28, 2008 8:38 pm 
User avatar
Member of the Month!
Member of the Month!

Joined: Thu Nov 29, 2007 6:36 pm
Posts: 95
Location: Hoorn, Netherlands
And got a very fast response of René from joomlaportal.cz, with a German translation.
This is added in v1.1, which you can download from JoomlaCode.

And.. I'm very happy! Because JoomlaCode works right now on my computer. I set back the default settings of Windows Firewall and it worked again.  :)

Marieke

_________________
Greetz, Marieke
Joomla! Documentation Working Group | Joomla! Bug Squad Member | Joomla! Development Working Group
1.6 Help Screen Project Leader
Joomla!Community (Dutch Community) Documentation Team leader


Top
 Profile  
 
PostPosted: Mon Jan 28, 2008 11:08 pm 
Joomla! Champion
Joomla! Champion

Joined: Wed Nov 22, 2006 3:35 pm
Posts: 7056
Location: Nebraska
8)

_________________
http://Twitter.com/AmyStephen
http://www.alltogetherasawhole.org/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 



Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group