Pinterest.com interface-style social display Web application: Infinite-social-wall

Source: Internet
Author: User
Tags config min php and php and mysql php mysql

Online Demo

Infinite-social-wall is an open source application based on PHP and MySQL, and is designed to help you use the Pinterest.com interface style to showcase event information for various social networking sites.

This application captures social networking content by specifying RSS, and has built-in styles and graphs such as Twitter,reddit,instagram,github.

Use a free MySQL server as a storage background, so you don't need to parse feeds every time. The foreground uses the isotope plug-in to generate a dynamic layout and can generate an infinite scrolling effect.

This free app is certainly a good choice if you need to create a similar automatic update site for your social class.

Class Library Support:

1.Isotope-Personal and non-commercial free

2.infinite-scroll-mit License

3.jquery-mit License

4.simplepie-bsd License

5.jquery-timeago-mit License

6.html5shiv-mit License

7.CSS3 transition Detection-unknown

How to use

To create a database table:

CREATE TABLE ' Archived_social_items ' (
' ID ' varchar not NULL,
' Category ' varchar (255) Not NULL,
' title ' Text not NULL,
' Content ' text not NULL,
' Link ' text not NULL,
' Date ' datetime not NULL,
UNIQUE KEY ' item_id ' (' ID ')
) Engine=innodb DEFAULT charset=latin1

Modify the config.php MySQL configuration to point to your database.

The new feed can be added to config.php by modifying the $apis array. As follows:

"GitHub" => Array (
"User" => "Philipbjorge",
"url" => "Http://atom2rss.semiologic.com/?atom=https://github.com/{user}.atom"
),

Add Style to Header:

<!--[if ie]> <script src= "Http://html5shiv.googlecode.com/svn/trunk/html5.js" ></script> < Style type= "Text/css" > Clear {zoom:1;display:block;} </style> <! [endif]-->
<link rel= "stylesheet" type= "Text/css" href= "Css/isotope.css" >
<link rel= "stylesheet" type= "
text/css" href= "Css/networks.css" >

In the body, add containers and PHP include:

<div id= "Social-container" class= "variable-sizes clearfix infinite-scrolling" >
<?php require_once (' get_stream.php ');?>
</div>

Next, add PHP support:

<script src= "Js/jquery-1.7.1.min.js" ></script>
<script src= "Js/jquery.isotope.min.js" ></script>
<script src= "Js/jquery.infinitescroll.min.js" ></script>
<script src= "Js/jquery.timeago.js" type= "Text/javascript" ></script>
<script src= "Js/jquery.infinitesocialwall.js" type= "Text/javascript" ></script>

Custom CSS:

Modify CSS files such as Isotop.css,networks.css

Source: Pinterest.com interface-style social display Web application: Infinite-social-wall

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.