Wednesday, 15 July 2015

php - Internal-linking of texts out of .csv files (in java) -


I have a CSC file with text, and the data is about to be parsed, and based on specific keywords, the words With the necessary HTML tags to add keywords to a website.

So far, I have one. Wrote CCV parser and author, who receives all the data from the first file out of the column, and prints them into a newly created (.ccv) file in the column (such as the text ID in one cell, in the next cell Text title, and actual text in the next cell).

Now I still have a list of keywords, as well as a website hierarchy and links to put it, but honestly I do not know how to continue working on it, The hierarchy of where the title of the text is present, and only consider the elements below it, and link them to the keywords in my text. How can this be done? Do I pack there for Extension, Special software for Libs, Java?

Any help would be appreciated, I am running here on a deadline ... THX!

PS: I'm coding all this in Java

I'm not sure , But it seems like you want to create a href column in your output:

  & lt; A href = "http://www.w3schools.com" id = "foo" title = "bar" & gt; Visit W3Schools & lt; / A & gt;  

You can do this just by adding stars:

  string maref (string title, string id, string link) {return "< A Href = "+ ... etc}  

Before you write the second CSV you will need to avoid" S ".

It is also entirely possible that I did not understand the question. If so, you might want to try to be more specific.


No comments:

Post a Comment