nucleus/Blog:CMS import works like a charm. Only problem is images in articles.
Currently images are like:
Code: Select all
<div class="leftbox"><%image(public/20040906-hovimaki.jpg|127|200|Hovimäki)%>
</div>
So... to make regexp after importing articles (or during it), what do I change that string?
I looked few examples how serendipity saves images to article body / extended part, but ...
Code: Select all
<div class="serendipity_imageComment_left" style="width: 110px"><!--s9ymdb:1--><img width='110' height='83' src="/uploads/hovimaki.serendipityThumb.jpg" alt=""/></div><div class="serendipity_imageComment_txt">Hovimäki</div></div>
What is the meaning of s9ymdb:1 -text? Media Database? How come that number is always "1" even if I bring 2 or more pictures to article.
I created the import part but just can't figure out what to put there...
Examples of articles are:
http://www.nominaali.com/~ihra/serendipity/
and single article that contains picture:
http://www.nominaali.com/~ihra/serendip ... enity.html
(get it? get it?
p.s. can't use rss as there won't be pictures along it... and no way that I am gonna do it manually, I am using IT after all