Completed

Importar notícias para formato wordpress

Published on the October 10, 2019 in IT & Programming

About this project

Open

Um cliente migrou seu site para o Wordpress. Porém, em seu site anterior, havia uma tabela de notícias que precisaria ser importado para o formato wordpress (ou xml para importação ou então INSERTs na tabela wp_posts).

Estrutura da tabela:

CREATE TABLE IF NOT EXISTS `noticias` (
  `id_noticia` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `cadastro` datetime DEFAULT NULL,
  `titulo` varchar(255) DEFAULT NULL,
  `titulo_pt` varchar(255) DEFAULT NULL,
  `resumo` longtext,
  `resumo_pt` longtext,
  `titulo_ing` varchar(255) DEFAULT NULL,
  `titulo_esp` varchar(255) DEFAULT NULL,
  `texto_pt` longtext,
  `texto` longtext,
  `texto_ing` longtext,
  `texto_esp` longtext,
  `visivel` char(3) DEFAULT NULL,
  `visivel_pt` char(3) DEFAULT 'Nao',
  `visivel_ing` char(3) DEFAULT 'Nao',
  `visivel_esp` char(3) DEFAULT 'Nao',
  `views_pt` bigint(20) NOT NULL DEFAULT '0',
  `views_ing` bigint(20) DEFAULT NULL,
  `views_esp` bigint(20) DEFAULT NULL,
  `link` varchar(255) DEFAULT NULL,
  `font` varchar(255) DEFAULT NULL,
  `resumo_ing` varchar(255) DEFAULT NULL,
  `resumo_esp` varchar(255) DEFAULT NULL,
  `destaque` char(3) DEFAULT 'Nao',
  `categoria` char(32) NOT NULL,
  `subcategoria` varchar(255) NOT NULL DEFAULT 'Geral',
  `url_noticia` varchar(255) DEFAULT '',
  `situacao` enum('Ativo','Inativo') NOT NULL DEFAULT 'Ativo',
  PRIMARY KEY (`id_noticia`,`categoria`),
  KEY `Index 2` (`categoria`),
  CONSTRAINT `FK_noticias_categoria_materia` FOREIGN KEY (`categoria`) REFERENCES `categoria_materia` (`categoria`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3722 DEFAULT CHARSET=utf8 COMMENT='Tabela Noticias';

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Roles needed Developer

Delivery term: October 15, 2019

Skills needed