Developer forum

Forum » Integration » DW9 - Import Meta title and description

DW9 - Import Meta title and description

Niels Christian Aaes
Niels Christian Aaes
Reply

Oi...

Do any of you have experience importing meta title and description for selected pages?
I have a csv with all pages including title and description.

Can I use Data Integration in DW9?
Are there any issues I should be aware of?

Thanx in advance =)
..NC


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Niels,
If you have PageId in your CSV file, you can use DataIntegration with DynamicwebProvider as Destination.

Adrian

 

 

 
Niels Christian Aaes
Niels Christian Aaes
Reply

Hi Adrian,

thank you for the quick confirming response =)
i'll use this approach...

..NC

 
Niels Christian Aaes
Niels Christian Aaes
Reply

Hi,

regarding the PageID =)

The client used the sitemap to get all relevant pages. Therefor we don't have the pageID.
They can add manually but it's a big job. Is there a way to get the sitemap list mixed/included with pageID.
 

..NC

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Niels,
I suppose by "sitemap" you mean the friendly URL of the page.
The friendly URLs are not stored in the database, it's not easy to get a mapping between PageId and FriendlyURL.
You can export the table "Page" (using DataIntegration, DynamicwebProvider as Source and Excel/CSV as destination) and try to guess the page-friendly URL based on the PageMenuText (Page title) property, but keep in mind that the friendly URL also has the path to the page, not just the page title.
Another option is to generate a custom SiteMap list programatically (in a template, use navigation and GetFriendlyUrl(PageId).
I am not aware of any out-of-the-box alternative.
 

Adrian
 

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Niels,
One more thing that you can try (untested). You may disable friendly URLs on the solution (outside normal working hours), save the xml, and then try to recreate the connections.
The Sitemap should (in theory) be generated in the same order.
I am not sure if it works, but it may be easy to find out.

Adrian

 
Niels Christian Aaes
Niels Christian Aaes
Reply

Hi Adrian,

it sounds like some very good options! I'll test these to see if it will work.
Thank you very much..

..NC

 

You must be logged in to post in the forum