Milwaukee Neighborhood News Service

Your neighborhood. Your News.

newsMilwaukee NNSMilwaukee NNSSearch
Subscribe to NNS today!
Advertisement
  • Home
  • News
    • Arts and Recreation
    • Community
    • Economic Development
    • Education
    • Health and Wellness
    • Housing
    • Public Safety
    • NNS Spotlight
    • Special Report
  • Posts From Community
    • Submit a Story
  • Community Voices
  • How To
  • Multimedia
    • NNS Local Video
    • Photos
    • NNS on Lake Effect
    • NNS WGLB 1560 Radio
  • Subscribe
  • Donate
  • About
    • Staff
    • Partners
    • News 414
    • The neighborhoods we cover
Milwaukee Neighborhood News Service
Milwaukee Neighborhood News Service

Diederich College of Communication, Marquette University

You are here: Home / Test Multimedia

Test Multimedia

‘;
?>

Video picks

Check out some of our the latest and greatest video.

“; var_dump($xml); echo “

“;

//loop through xml nodes
for ($v = 0; $v < sizeof($vxml->videoessay); $v++) {

//parse xml node
$vid = $vxml->videoessay[$v]->id;
$vurl = $vxml->videoessay[$v]->url;
$vimage = $vxml->videoessay[$v]->image;
$vtitle = $vxml->videoessay[$v]->title;
$vlink = $vxml->videoessay[$v]->link;
$vdescription = $vxml->videoessay[$v]->description;

//create array and store data for each node

if ($videoEssayArray == false) {
$videoEssayArray = array(array($vid, $vurl , $vimage , $vtitle , $vlink, $vdescription ));
} else array_push($videoEssayArray, array($vid, $vurl , $vimage , $vtitle , $vlink, $vdescription ));
};

//display a formatted list of results

echo ‘

    ‘;
    for ($v = 0; $v < sizeof($videoEssayArray); $v++) { //create link print_r('
  • ‘.$videoEssayArray[$v][3].’

  • ‘);

    }

    echo ‘

‘;

//create content for links
for ($v = 0; $v < sizeof($videoEssayArray); $v++) { print_r('

‘.$videoEssayArray[$v][3].’

‘.’

‘.$videoEssayArray[$v][5].’

View the original article

‘);
};

?>


Photo slide show galleries

Check out some of our the latest and greatest photo essays.

“; var_dump($xml); echo “

“;

//loop through xml nodes
for ($i = 0; $i < sizeof($xml->photoessay); $i++) {

//parse xml node
$id = $xml->photoessay[$i]->id;
$url = $xml->photoessay[$i]->url;
$image = $xml->photoessay[$i]->image;
$title = $xml->photoessay[$i]->title;
$link = $xml->photoessay[$i]->link;
$description = $xml->photoessay[$i]->description;
$width = $xml->photoessay[$i]->width;
$height = $xml->photoessay[$i]->height;

//create array and store data for each node

if ($photoEssayArray == false) {
$photoEssayArray = array(array($id, $url , $image , $title , $link, $description, $width, $height ));
} else array_push($photoEssayArray, array($id, $url , $image , $title , $link, $description, $width, $height ));

};

//print_r(array_values($photoEssayArray));

//display a formatted list of results

echo ‘

    ‘;
    for ($i = 0; $i < sizeof($photoEssayArray); $i++) { //print_r('
  • ‘.$photoEssayArray[$i][2].’

    ‘.$photoEssayArray[$i][4].’

  • ‘);

    //create link
    print_r(‘


  • ‘.$photoEssayArray[$i][3].’

  • ‘);

    }

    echo ‘

‘;

//create content for links
for ($i = 0; $i < sizeof($photoEssayArray); $i++) { print_r('

‘.$photoEssayArray[$i][3].’

‘.’

‘.$photoEssayArray[$i][5].’

View the original article

‘);
};

?>

Advertisement

Top Stories

Advertisement

How To …

How to avoid stimulus check scams

A new round of stimulus checks will likely also bring out a new round of scams. Here’s what to watch out for.

More "How To" articles

Advertisement

Recommended Reading

A Vaccine Reality Check

The Atlantic

UWM study on the state of Black Milwaukee describes the city as ‘the epitome of a 21st century racial regime’

Milwaukee Journal Sentinel

Videos Show How Federal Officers Escalated Violence in Portland

The New York Times

These mayors want to fight Covid-19 and the recession with one big idea: A guaranteed income

Vox

The World John Lewis Helped Create

The Atlantic

News

  • Arts and Recreation
  • Economic Development
  • Education
  • Health and Wellness
  • Housing
  • Public Safety
  • NNS Spotlight
  • Special Reports
  • Multimedia
    • NNS Videos
    • Photos
    • NNS on Lake Effect Radio

Engage with us

  • Posts from Community
  • Community Voices
  • Submit a Story

About NNS

  • Staff
  • Partners
  • News414
  • The neighborhoods we cover
  • Internship opportunities
  • Careers
  • Terms of use
  • Advertise

Connect with us

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS feed

Communities

Contact

mailing address
Milwaukee Neighborhood News Service
Diederich College of Communication
Marquette University
1131 W. Wisconsin Ave.
Johnston Hall 430
Milwaukee, WI 53233

email
info@milwaukeenns.org

phone & fax
PHONE: 414.604.6397 FAX: 414.288.6494

Milwaukee Neighborhood News Service is a project of Diederich College of Communication and Marquette University.
© 2020 Milwaukee Neighborhood News Service. Terms of use.
1131 W. Wisconsin Ave., Milwaukee WI 53233 • info@milwaukeenns.org

Copyright © 2021 · News Pro Theme on Genesis Framework · WordPress · Log in