Nooo, about to give up. have only had like 8 lessons in computing stuff :< this is way too much for me i guess
rinjin07 - haven't decided yet?!!
The problem you set yourself is certainly ambitious for a first project but no need to give up yet.
If you want to try my approach, then see below. As I said, it's not as concise as Troy's but has the enormous advantage of using XML (that's an intentional wind-up for Troy).
As posted, the code will look for the xml file partners.xml, my version of which is as follows:
<?xml version="1.0" encoding="utf-8" ?> <partners> <partner lat="23.709921" lng="90.407143" title="ARANYA (Bangladesh)- WTFO Member" desc="ARANYA is a craft research and development organization which has been working with the revival and promotion of the fine craft traditions of Bangladesh for more than two decades. As a fair trade micro-enterprise, ARANYA's partnership with craftspeople guarantees fair wages and ensures that they are not exploited or undervalued. ARANYA has revived the use of natural dyes in Bangladesh and has trained hundreds of artisans in dyeing and printing techniques. It works in hand-woven, embroidered and block printed handloom silk and organic cotton fabrics. It has developed and worked with the Jamdani Nakshi Kantha techniques, unique to Bangladesh."/> <partner lat="-16.5026527" lng="-68.1622267" title="ASARBOLSEM (BOLIVIA)- WFTO Member" desc="Asociación Artesanal Boliviana Señor de Mayo is a co-operative working in Bolivia since 1989. It has more than 390 members, spread our throughout Bolivia. Of the members, 98% are women and disabled people. Señor de Mayo specialises in producing handmade textiles, knitted jumpers, scarves, hats, and gloves of alpaca and wool. From the sale price 77% is returned to the producer, 3% is put into an emergency fund and 20% is ploughed back into the organisation and used for training, education, family planning and technical assistance. Asarbolsem also has a fund to provide its members with educational, health and legal support."/> <partner lat="23.1666667" lng="89.2166667" title="CHARKA Handicrafts" desc="Charka, meaning wheel, is a self-sustaining project of Jagorani Chakra, a large NGO based in Jessore. Charka specialises in fine hand embroidery produced by local village women. Jagorani Chakra first developed training programmes in the early 1990s and later opened a small shop to market its products. They soon developed a reputation for the highest quality. Charka is constantly training more women and increasing the size of its product range. All the materials used are eco-friendly. Through its on-going training programmes Charka hopes that these skills will be preserved and handed down to future generations, both perpetuating the art and providing income for the families. As the women work either individually or in groups, they are able to earn whilst meeting their daily responsibilities in and around the home."/> <partner lat="-9.189967" lng="-75.015152" title="CIAP(Central Interregional de Artesanos del Perú)" desc="CIAP works with 2,000 producers from different parts of Peru. 80% of its members are women. For CIAP, culture is fundamental. 'When people are buying our products, they are sharing our past, our present and our future… We want to share our history, our hopes' says Julia Castro of CIAP. CIAP produces a wide range of products: knitwear and weaving in alpaca and cotton, ceramics, jewellery, embroidery, patchwork quilts and many more of the fine traditional crafts from Peru. CIAP offers training and marketing advice to its members. It has just developed an alternative tourism programme and also runs a savings/credit co-operative for CIAP members."/> <partner lat="23.7671123" lng="90.3561705" title="Ecota Fairtrade Forum- WTFO Member" desc="Ecota Fairtrade Forum is an organisation that networks and coordinates between producers belonging to small- and medium-sized fair trade enterprises. These are all involved in helping to develop the craftwork sector. Ecota helps artisans to develop their products and to raise their income levels so as to alleviate poverty in Bangladesh. It is keen to promote fair and ethical trading relationships that benefit its member organisations. All in all, it has 31 affiliates that involve nearly a million craftsmen."/> <partner lat="23.684994" lng="90.356331" title="DEW (Development Wheel)" desc="Development Wheel (DEW) is a Bangladeshi non-government voluntary development organisation. It seeks to provide an institutional framework to help fight poverty. It enhances the technical and business skills in both rural and urban areas among people who are basically self-employed. DEW works primarily with women’s groups, both in the craft sector and in agriculture. It has around 900 women members and their families in and around Jamalpur, Jessore, Manikgonj and Dhaka."/> </partners>
As I said, it's not as concise as Troy's but has the enormous advantage of using XML (that's an intentional wind-up for Troy).
Care to explain the word "enormous" in this regard?
Troy, I would only dig myself into a deeper hole.
Airshow, you have been awesome. That last bit did the trick and I really can't thank you enough for all your advice and help :) Thanks to everyone else for the alternate options as well. Seriously appreciate it :)