Coder Social home page Coder Social logo

aigf-wordpress-importer's Introduction

AIGF Haber Ajansı Wordpress Botu

Kurulum

aigf.php dosyasını wordpress'in kurulu olduğu ana dizine atınız. www.websiteniz.com/aigf.php sayfası açıldığında WORDPRESS OTOMATİK İÇERİK ALMAK İÇİN HAZIR... yazısını görüyorsanız herşey yolundadır.

Ayarlar

Haberlerin ilgili kategorilerde gösterilebilmesi için $aigf_cats değişkenini site kategorinize göre değiştirmeniz gerekmektedir.

Kategori Eşleştirme

Örneğin AIGF "GÜNDEM" Haberlerini web sitenizin "GÜNCEL" kategorinde yayınlamak istiyorsanız, "GÜNDEM" değişkeninin değerini web sitenizin "GÜNCEL" kategorisinin ID si ile değiştirmelisiniz.

$aigf_cats = array( "GÜNDEM" =>"2", "EĞİTİM" =>"3", "MAGAZİN" =>"4", "SPOR" =>"5", "EKONOMİ" =>"6", "SAĞLIK" =>"7", "SİYASET" =>"8", "TEKNOLOJİ" =>"9", "YAŞAM" =>"10", "ASAYİŞ" =>"11", "DÜNYA" =>"12" );

Özel Alanlar

Tema ayarlarına göre eklenen haberlere özel alan eklemek isterseniz $aigf_customs değişkenini kullanabilirsiniz. Örneğin : $aigf_customs['aigf_source'] = $source; değişkeni aigf_source özel alanı ekler

Post Ayarları

$aigf_post['post_type'] = "post"; $aigf_post['post_status'] = "publish"; //Eklenen haberleri hemen yayınlamak için "publish" taslaklara kaydetmek için "draft" olarak değiştirebilirsiniz. $aigf_post['post_author'] = "1" ;

Otomatik haber çekme

Sunucu veya hosting panelinizden zamanlanmış görev ekleyerek dosyanın belirli aralıklarla çalışmasını sağlayınız. Dikkat : Dosya çalıştırma aralığı en az 1 dakika olmalıdır.

aigf-wordpress-importer's People

Contributors

ebiron avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.