Devam Ediyor

518146 XML parser link automation utility

Hello,

We require a small script that should be in PHP that does the following:

A page with 3 radio buttons, one "raw", one "site map" and one "xml". There will be a text area above it that you place input in.

If the input select is raw, it will resemble this (URLs separated by newlines):

[url removed, login to view]

[url removed, login to view]

If the input is site map, the input will be like the CONTENTS (not the URL, but it's contents!) of this link:

[url removed, login to view]

if the input is an RSS feed, the input will be like the CONTENTS (not the URL, but it's contents!) of this link:

[url removed, login to view]

-----

There will be another text area below it with a list to input a keywords separated by enters, like this:

key word 1

keyword 2

---

Then a submit button, for obvious reasons.

---

When submitting, the initial workflow depends on the type of data

Raw:

Parse and generate an array of all those items

Sitemap/RSS feed:

Generate an array out of the URLs on the page by parsing the XML (please note the XML structure will always remain the same for both RSS feeds and site maps so not to worry too much about that)

Once there is an array with the URLs, the keywords must be parsed the same way, generate an array of the keywords split on newlines

-----

Finally, what is required is that it generates output that is the following:

<a href="{[url removed, login to view]|[url removed, login to view]|[url removed, login to view]}">{keyword 1|key word 2|keyword 600}</a>

Basically, implode the URL array using pipes (|) and prefix/suffix with curly braces, same thing for keywords, include them as a link, et voila. The output should resemble the top, nothing more than that.

I welcome your bids and this should be a quick job.

Beceriler: Her şey Kabul, Link Oluşturma, PHP, Kabuk Betiği, XML

Daha fazlasını görün: what is link list data structure, utility automation, type of data structure in c, type of data structure, submit your rss feeds, submit your rss feed, submit your rss, submit xml feed, submit to rss feed, submit feed rss, submit a rss feed, submit an rss feed, rss feeds submit, prefix top, prefix in data structure, parsing input, link list in data structure, key data structure, data structure link list, data structure in array, data structure array, c map data structure, array in data structure using c, array in data structure, array data structure

İşveren Hakkında:
( 4 değerlendirme ) Montreal,

Proje NO: #2264080