Restaurando el blog con post de hace 10 años

Después de casi 10 años en funcionamiento, a principios de este 2016 se me cayó la página web, y por muchas situaciones no me di el tiempo de volver a levantar el sitio, por lo que después de casi 9 meses fuera de línea, vuelvo a montar el blog de OaxRom.

Aunque esto no fue tan fácil, ya que hace 10 años el blog estuvo montado sobre un Jaws-Project muy básico, y ahora intentando montar la última versión, es completamente diferente su funcionalidad y esquema de base de datos, por lo que me tomó unas líneas de código adicionales poder incorporar la información de hace tiempo con la nueva versión de Jaws.

Para importar la información, básicamente tuve que pasar las tablas jaws_blog_category, jaws_blog_entrycat y jaws_blog. No importe más información como comentario, vistas, etc.

La importación de los posts lo hice a tráves del siguiente script:
 
<?php
$oaxrom  = mysql_connect("localhost", "user", "password");
 mysql_select_db("blogDB", $oaxrom);
 
$temp  = mysql_connect("localhost", "user", "password", true);
mysql_select_db("antiguoBlog", $temp);
 
$mysql = "select * from jaws_blog; ";
$_result = mysql_query($mysql, $temp);
$post=0;
while($_info = mysql_fetch_array($_result)){
     foreach(array_keys($_info) as $field ){
                $_info[$field]=addslashes($_info[$field]);
     }
     $query = "insert into jaws_blog(id,user_id,title,summary,text,image,comments,clicks,allow_comments,trackbacks,fast_url,meta_keywords,meta_description,categories,published,publishtime,createtime,updatetime)
                    values( \"$_info[id]\",\"$_info[user_id]\",\"$_info[title]\",\"$_info[summary]\",\"$_info[text]\",\"$_info[image]\",\"$_info[comments]\",\"$_info[clicks]\",\"$_info[allow_comments]\",\"$_info[trackbacks]\",\"$_info[fast_url]\",\"$_info[meta_keywords]\",\"$_info[meta_description]\",\"$_info[categories]\",\"$_info[published]\",\"$_info[publishtime]\",\"$_info[createtime]\",\"$_info[updatetime]\"); "
;
    $error = mysql_query($query, $oaxrom);
        echo $post++.":::$error\n";
}
 
?>
 

Al subir la información, accediendo como anónimo al blog, no podía ver la información. El sistema de ACL de Jaws-project es muy confuso en sus nuevas versiones, por lo que decidí ir directamente al código y eliminar la validación de sesiones para que los posts fueran públicos y pudieran ser vistos de forma anónima.

Para esto tuve que modificar los archivos:
/var/www/html/gadgets/Blog/Actions/Default.php
/var/www/html/gadgets/Blog/Actions/Post.php
<a href=https://www.iupui.edu/~gguild/?topic=cheapest-azibiot-no-prescription-needed-azibiot-delivered-overnight>Cheapest Azibiot No Prescription Needed, Azibiot Delivered Overnight</a> <a href=http://www.gcshd.com/UserProfile/tabid/87/userId/3579/Default.aspx>http://www.gcshd.com/UserProfile/tabid/87/userId/3579/Default.aspx</a> <a href=https://projectlyme.org/forums/forum/new-forum>Order Speman Online Reliable, Speman Purchase Canada</a> <a href=https://kisyn.org/buy-fusidic-acid-fedex-overnight-fusidic-acid-generic-no-prescription>https://kisyn.org/buy-fusidic-acid-fedex-overnight-fusidic-acid-generic-no-prescription</a> <a href=https://madhousedesign.com/forums/forum/support>Order Celecoxib Over The Counter Online</a> Voltaren Effects Wellbutrin Positive Drug Screen Naproxen Ibuprofen Taken Together <a href=https://projectlyme.org/forums/forum/new-forum>https://projectlyme.org/forums/forum/new-forum/</a> <a href=https://www.iupui.edu/~gguild/?topic=order-patanol-express-courier-fedex-patanol-online-no-script>Buy Patanol Online With Mastercard No Prescription</a> <a href=https://www.smartglobalmarket.com/forums/topic/where-to-buy-sleepwell-cheap-buy-buy-sleepwell-overnight-fedex>Where To Buy SleepWell Cheap Buy, Buy Sleepwell overnight fedex</a> <a href=https://projectlyme.org/forums/forum/new-forum>Cheap Triquilar No Prescription Nextday Shipping</a> Diflucan Partnership Program Fungal Infections
Causes Of Infectious Migraines
Voltarol Gel Patches Diclofenac Epolamine Pcp Treatment Bactrim Allergy . Geodon To Buy With NO PRESCRIPTION Tetracycline Long-term Side Effects Bystolic Depression Metoprolol Succinate 4 Testosterone Cream Glucophage (Metformin). Glucophage (Metformin) online canada pharmacy. application of elavil buy tricyclic antidepressants, or of methods of buy Prilosec Otc Launch Datetime . Cholesterol Blood Sugar Levels Best Order Prescription Zoloft Malted Barley Allergy Hives http://asuh.hawaii.edu/drhazelton/cheap_clozapine_online_no_prescription_clozapine_no_prior_prescription - How To Buy Clozapine?
http://forum.viva.co.id/indeks/threads/cyclovir-purchase-canada-cyclovir-purchase-with-mastercard.2324274 - http://forum.viva.co.id/indeks/threads/cyclovir-purchase-canada-cyclovir-purchase-with-mastercard.2324274
[ Reply ]

It is very easy to download Psiphon apk for Android from our Site
[ Reply ]

Its such as you learn my mind! You seem to grasp a lot
about this, such as you wrote the e book in it or something.
I think that you simply can do with some percent to drive the message
home a little bit, however other than that, this is magnificent blog.
An excellent read. I'll certainly be back.
[ Reply ]

Its such as you learn my mind! You seem to grasp a lot about this,
such as you wrote the e book in it or something. I think that you simply can do
with some percent to drive the message home a little bit, however other
than that, this is magnificent blog. An excellent read.
I'll certainly be back.
[ Reply ]

I know this is an old post, but I'm still hoping for a boost in the home improvement market as well. Unfortunately, a lot of people are predicting another real estate crash by the end of 2017!
[ Reply ]

Amazing article thanks or sharing..
[ Reply ]

Great Information,it has lot for stuff which is informative. I will share the post with my friends.
[ Reply ]

I dropped the site, and for some circumstances I didn't give the opportunity to re-raise the webpage, so after just about 9 months disconnected, I come back to Set up the OaxRom blog.
[ Reply ]

Such a helpful post,i truly get a kick out of the chance to visit here,i cheerful to get these stuff through online stage. Looking for has any sort of impact since it licenses you to peer facilitate inside your substance, in any case it is to a great degree typical yet it may help you to take in a couple of insider certainties of forming substance.
[ Reply ]

Revive a than standard blog like this shows up, from each point, to be troublesome, regardless, My additional and I truly expected that would make a web journal.
[ Reply ]

Previous page 1 2 3 4 ... 14 Next page
134 comments

Comments

Comment XML feeds: RSS | Atom

Emblems