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
Learn how to use FaceTime to make video and audio calls from your ... Open your FaceTime app and sign in with your Apple ID (you can also ...
[ Reply ]

Restoring blog nice and great information blog. keep it up.
[ Reply ]

if your whatsapp video call does not work on your device. If still it does not fix it, you can only try
[ Reply ]

Seeking has any kind of effect since it permits you to peer further inside your substance, however it is extremely normal yet it might help you to take in a few insider facts of composing substance.
[ Reply ]

CogniFlex supplement is without hazard from any reactions. You can utilize this supplement without considering of the reactions
[ Reply ]

It is completely strange value and database mapping, so I take a couple of extra lines of system can combine data.
[ Reply ]

It’s a grand one and moreover a wonderfully expertise one. Looking forward for more from this website. I read all of article of the site the object was extremely good going and check it out!
[ Reply ]

Such a useful post,i really like to visit here,i happy to get these stuff through online platform.The Internet has made various transactions possible without the need for actual face-to-face communication, giving rise to various businesses, most notably e-commerce and online assistant services. While the former acts as online shops that sells various products, the latter provides services conducted by an online assistant adept at the task.So it will be quite useful for getting an any type of assistance.
[ Reply ]

GBWhatsApp, it is very easy. All you need is check typically the web by using your favorite browser and search for GBWhatsApp
[ Reply ]

Well I have been trying to implement it but not getting hwy I am having errors..
[ Reply ]

Previous page 1 2 3 4 ... 8 Next page
72 comments

Comments

Comment XML feeds: RSS | Atom

Emblems