Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert hyperlink into table

Participant ,
Mar 18, 2008 Mar 18, 2008
I asked this question on MSDN with no success and now I will try out ADOBE's smart guys.

This is a simple request. I need to get a stored procedure that will parse an HTML document like a favorite list and extrapolate the link into 2 seperate columns into a database. one column would be the hyperlink and the other would be the text in the link.

Any ideas?????

Thanks in advance,

Gene
515
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 18, 2008 Mar 18, 2008
Hi,

Refer the List functions of cf here
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 18, 2008 Mar 18, 2008
NOT THERE!

I need to take a list of links and parse them so they can be inserted into a database w/2 columns.
1 column is the link's text
2 column is the hyperlink itself.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 18, 2008 Mar 18, 2008
NOT THERE!

I need to take a list of links and parse them so they can be inserted into a database w/2 columns.
1 column is the link's text
2 column is the hyperlink itself.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Mar 18, 2008 Mar 18, 2008
Hi Gene,

First of all, try to put up a list form your html content using the hrefsToList udf, and then you can parse them using the ParseURLData udf..

HTH
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 18, 2008 Mar 18, 2008
* duplicate post *
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 18, 2008 Mar 18, 2008
LATEST
Gene, I would reccommend using cfhttp - it will gather up the entire html of a page, and you can parse through it with you're preferred method to get the links..

Here's a site that walks you through the process using cfhttp and xpath to gather links on a website.

http://www.anujgakhar.com/2007/11/21/extracting-links-using-xpath/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources