PHP Classes
elePHPant
Icontem

PHP Page Preview: Display the preview of a page like Facebook posts

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2019-08-07 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 164 This week: 3All time: 8,591 This week: 98Up
Version License PHP version Categories
url-preview-box-php 1.0.0GNU General Publi...5HTML, PHP 5
Description Author

This class can be used to display the preview of a page like Facebook posts.

It takes as parameter the URL of a given page and retrieves that page HTML to parse it.

The class extract several relevant details of the page and returns a JSON encoded array that is used on the browser side to render a preview of the page using HTML and JavaScript provided by this package.

Innovation Award
PHP Programming Innovation award nominee
August 2019
Nominee
Vote
Facebook allows users to submit posts that refer external pages. When the user is composing a post, the user can see a preview of an external page embedded in the preview of the post being edited.

This package allows implementing a similar feature on regular sites. It can display previews of external pages on posts being created in any PHP site.

Manuel Lemos
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 60335 in India India
Week rank: 20 Up2 in India India Up
Innovation award
Innovation award
Nominee: 2x

 

Details

url-preview-box-php

Use this class for creating the URL preview box just like facebook or other websites does. Enter url and it will create the preview box.

If you are using the URL which is HTTPS then it will not work over the localhost. Your application need to be hosted over the server

  Files folder image Files  
File Role Description
Files folder imagevendor (1 directory)
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation
Plain text file urlDetails.php Class Class source

  Files folder image Files  /  vendor  
File Role Description
Files folder imagebootstrap (3 directories)

  Files folder image Files  /  vendor  /  bootstrap  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (1 file)
Files folder imagejs (2 files)

  Files folder image Files  /  vendor  /  bootstrap  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data

  Files folder image Files  /  vendor  /  bootstrap  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  vendor  /  bootstrap  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:164
This week:3
All time:8,591
This week:98Up