Does PHP & XML work together in the same place ? LoL , Yes, they do !

PHP and XML


XML stands for Extensible Markup Language. A markup language is used to annotate text or add additional information. These annotations are not shown to the end-user, but are needed by the ‘machine’ to read and subsequently process the text correctly.An XML document is plain text and contains tags delimited by < and >.
XML plays a significant role in the present world of web development, it is perfectly useful for those who wish to make use of web technologies for distributing information across the web.
XML is used to format a document with a web browser. It is an influential and effectual tool to process a document’s contents and therefore, creating own tags is possible with XML. It works well with any operating system and maintains a great amount of flexibility, which is very essential for the web development scenario. 

Parsing an XML Document

Parsing is usually applies to text  it is  the act of reading text and converting it into a more useful in-memory format, “understanding” what it means to some extent.
An XML Parser is a parser that is designed to read XML and create a way for programs to use XML.

PHP – Simple XML

PHP 5’s new SimpleXML module makes parsing an XML document, well, simple. It turns an XML document into an object that provides structured access to the XML.
The simple XML parser is used to parse Name, attributes and textual content.
The simple XML functions are shown below:


simplexml_load_file():

This function accepts file path as a first parameter and it is mandatory:
simplexml_load_file(($fileName,$class,$options,$ns,$is_prefix)

simplexml_load_string():

This function accepts the string instead of file reference.
simplexml_load_string($XMLData,$class,$options,$ns,$is_prefix)

simplexml_import_dom():

This function accepts DOM formatted XML content and it converts into simple XML.
simplexml_load_string($DOMNode,$class)
Assuming we’ve got our XML file above saved as a file called sctpl.xml in the same folder as our php file, we can read the whole feed into an object with the following code.

<?php
$sctpl = consultancy('sctpl.xml');
?>


PHP – Simple XML GET:

Get Node Values:

Consider following XML file:
sctpl.xml:
<SCTPL>

<Location >
<address>4/B wing,Trishul Apartments,Sindhi Society Rd Number1,Chembur, Mumbai.
</address>
<phno> 022-25277413 </phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

</SCTPL>

Following Code will return value of address,phno,facebook,youtube nodes:

Example

<?php
$xml=simplexml_load_file(“sctpl.xml”) or die(“Error: Cannot create object”);
echo $xml->Address . “<br>”;
echo $xml->phno . “<br>”;
echo $xml->facebook . “<br>”;
echo $xml->youtube; ?>
Output of above code will be:
4/B wing,Trishul Apartments,Sindhi Society Rd Number 1,Chembur, Mumbai 

022-25277413

https://www.facebook.com/suvenconsultants/

https://www.youtube.com/user/rockyjagtiani


Get Node Values of Specific Elements

Consider another XML file:

SuvenConsultancy.xml:
<SCTPL>

<Location name=”Chembur”>
<address>4/B wing,Trishul Apartments,Sindhi Society Rd Number1,Chembur, Mumbai.
</address>
<phno> 022-25277413 </phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

<Location name=”Kandivali”>
<address>510, 5th Floor , Ghanshyam Enclave,Link Road, Lalji-pada JunctionKandivali West, Mumbai
</address>
<phno> 022-28674177</phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

</SCTPL>
The following example gets the node value of the <phno> element in the first and second <location>elements in the “SuvenConsultancy.xml” file: 

Example

<?php
$xml=simplexml_load_file(“SuvenConsultancy.XML”or die(“Error: Cannot create object”);
echo $xml->location[0]->phno“<br>”;
echo $xml->location[1]->phno;
?>
The output of the code above will be:
022-25277413
022-28674177

Get Attribute Values:

The following example gets the attribute value of the “name” attribute of the first <location> element:

Example

<?php
$xml=simplexml_load_file(“SuvenConsultancy.xml”or die(“Error: Cannot create object”);
echo $xml->location[0][‘name’];
?>
The output of the code above will be:
Chembur

Want to learn Web Technologies?

Which phone manufacturer had the best year in 2017? [Poll of the Week]

Last week’s poll summary: Out of almost 23,800 total votes, 25.1% of our readers said the Galaxy Note 8 is the best Android smartphone of 2017. 18.9% voted for the OnePlus 5T, 18.2% voted Pixel 2 XL, and 11.3% said the Huawei Mate 10 Pro is the top device of the year.

2017 brought us some of the best smartphones we’ve ever seen. It was also the year that we saw many Android OEMs come into their own.

Samsung had a particularly tough year, as it not only had to recover from the Galaxy Note 7 recall, it also had to win the trust back of consumers. Samsung worked hard to bring trust back to its brand, which resulted in the Galaxy S8 and Note 8— two of the best Android smartphones ever made.

OnePlus has also stepped things up this year, particularly with the launch of the OnePlus 5T. The OnePlus 5 felt a little stuck in the past, but the 5T brought an improved camera experience and a fantastic 18:9 OLED display. OnePlus continues to make improvements every year. It’s crazy to think this is the same company that had so many weird missteps a few years back.

See also

Huawei made some huge strides in 2017 with the launch of the Mate 10 Pro. Not only did that phone win our Best of Android 2017 competition, it feels like Huawei is becoming more original than ever before. Some might complain of Huawei’s software being too aggressive in some areas, but the improvements on the design/build front cannot be overstated.

I’d also like to mention HMD Global, the proud owners of the Nokia brand name. The Nokia 8, the company’s 2017 flagship, holds its own against the other competitors on the market. Android Authority actually named HMD Global as the best smartphone brand of 2017.

In your opinion, which smartphone manufacturer had the best year? Cast your vote in the poll below, and speak up in the comments if there’s anything you’d like to add.

Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll.

Must read: top 10 Android stories

This week we reviewed the Razer Phone and BlackBerry Motion, talked to Google about the Google Home Mini, crowned a winner in our Best of Android competition. Here’s the news of the week!


What’s the best Android smartphone on the market? Head to our Best of Android 2017 articles below to find out:

  • Best of Android 2017 – Display
  • Best of Android 2017 – Audio
  • Best of Android 2017 – Which camera looks the best? (camera shootout)
  • Best of Android 2017 – Performance
  • Best of Android 2017 – Which camera is technically the best? (technical comparison)
  • Best of Android 2017 – Battery
  • Best of Android 2017 – User experience
  • The Phone of The Year 2017 is…

Who wants to win a ZTE Axon M?

The ZTE Axon M takes gaming and productivity to the next level. Here’s how you can win one!

10 Android stories we handpicked for you

Razer Phone review Is Razer’s first smartphone a smart buy for everyone, or only for mobile gamers? Find out in our full Razer Phone review!


Google’s plan to take over the home starts with Google Home Mini We talk to Selena Salazar, product manager for Google Home Mini, about Google’s vision for the smart home, Assistant-powered refrigerators, and more.


BlackBerry Motion review: a KEYone without the keyboard Does a BlackBerry without a physical keyboard still feel like a BlackBerry or does it just turn into your average Android phone?


This is the OnePlus 5T Star Wars Edition With the release of much-anticipated Star Wars: The Last Jedi, OnePlus has announced the launch of a Star Wars-branded limited edition of the OnePlus 5T.


Why an (unofficial) anti-Amazon alliance is a very good thing Amazon has become the middle-man of everything, and are the leader of tech’s Big Four companies, over Apple, Google, and Facebook. But the fightback is on.


Which smartphones retain their resale value the best? If you’re looking to swap your flagship smartphone for a new one this year, here’s a list of the handsets with the best resale value.


Google Pixel 2 or Pixel 2 XL: which should you buy? Google released two different sizes of Pixel phones this year. Which should you buy— the Google Pixel 2 or Pixel 2 XL?


The notch is coming to a smartphone near you Get ready to see a lot of iPhone-style notches on future Android smartphones, as the design is going to be used on upcoming bezel-free displays.


How to use AR Stickers on the Google Pixel or Pixel 2 Do you have a Google Pixel or Pixel 2? If so, you can now use AR Stickers! Here’s everything you need to know.


Can the Snapdragon 845 give VR a shot in the arm? The new Qualcomm Snapdragon 845 boasts a number of improvements for virtual reality applications, but is that enough to reinvigorate the market?


Don’t miss these videos

Watch more Android videos on our YouTube channel.

More hot news

  • Google announces Tango will shut down on March 1
  • Amazon announces plans to sell Chromecast and Apple TV again
  • Google Assistant finally headed to Android tablets and more smartphones
  • Synaptics’ in-display fingerprint sensors coming to Vivo phones, not Samsung
  • Zooper Widget has mysteriously disappeared from the Play Store
  • Essential Phone will gain double tap to wake, EIS, and more features in future updates
  • Disney’s purchase of Fox should make Netflix very nervous
  • Grammarly Keyboard for Android hits the Play Store
  • Google launches AR stickers on Pixel phones starring The Last Jedi and Stranger Things characters
  • T-Mobile will launch its own ‘disruptive’ pay TV service in 2018
  • Google Lens looks to get more useful with improvements and AR experiences
  • Android version distribution: Oreo up again, but has Nougat beaten Lollipop yet?
  • Google releases two new experimental photography apps for Android
  • Apple confirms it has officially acquired Shazam

From our network

  • Marshall Stanmore Multi-room speaker review [SoundGuys.com]
  • 2017 Holiday drone buying guide [DroneRush.com]
  • Star Wars: Jedi Challenges VR/AR app to add The Last Jedi content (porgs!) in 2018 [VRSource.com]
Join our newsletters!
Subscribe to our weekly newsletter

An alternative explanation for Harvey

As a scientist I do believe in man-made global warming. So do the governments and the majority of citizens of every country in the world, except for Syria, Nicaragua, and the USA. The science says that global warming is likely to increase the occurrence and effect of catastrophic weather events. In particular an increase in the power of hurricanes and the amount of rain they carry has been predicted by the models years ago. Nobody is saying that hurricane Harvey is man-made, as hurricanes already existed long before man burning fossil fuel. But the fact that Harvey brought more rain than ever before observed on the American continent (the National Weather Service needed to add new colors to an expanded rain scale to map it) fits rather well with the predictions. So of course the US climate change deniers, first and foremost the Trump administration, react somewhat miffed if asked about climate change right now.

So I was thinking that one should keep an open mind and respect the believes of those who do not trust science. And I came up with an alternative explanation for Harvey which doesn’t rely on science or an assumption of man-made climate change: Hurricane Harvey was an act of God, or more precisely the wrath of God. God sent Harvey to express his displeasure with the vain and godless Trump administration. Which is why he sent the hurricane to deeply Republican Texas, and not to Democratic California. In his mercy, God intended Harvey as a stern warning. If the USA doesn’t get rid of Trump he will send further punishment, like heavenly fire (in the form of North Korean nukes). Repent now and kick Trump out, before it is too late!

I hope this inclusive multi-cultural approach makes my less scientific and more religious readers happy. 🙂

Here’s How Trump Is Pitting Local Police Against the FBI

Malcom Nance explains how Trump is using the ‘authoritarian playbook.’

SNBC contributor Malcom Nance reportedly scared the “bejesus” out of viewers on Sunday when he pointed out that President Donald Trump was following the authoritarian playbook by pitting police against federal law enforcement.

“Do I have to be the one that comes out and tells the American public, the last time we had a crisis of this magnitude was the Civil War,” he explained. “The Civil War, they at least used the precepts of the Constitution to make a legal separation from the United States.”

“Other than putting troops in your house, many of these things are happening,” Nance continued. “If he takes away the fundamental ability for us to police ourselves, to police the president of the United States, then he has done the ultimate in obstruction of justice. He is dismantling the Constitution and it cannot stand! We cannot allow it to stand.”

He added: “Everybody who is watching this who is in government right now who would think this is good, then you’re just doing a [Communist Party propaganda agency] politburo. Okay? We don’t need Saddam Hussein’s People’s Council here. What we nee to do is defend this nation’s democracy.”

 

MSNBC viewers immediately reacted to Nance’s words with alarm. One viewer noted that Nance had scared the “bejesus” out of her.

Watch the clip below.

 

 

Related Stories

  • Trump Is Really Trying to Set the World on Fire
  • Unbelievable Censorship: Trump Bans CDC from Using These 7 Words
  • Why Even the Idea That Neocon Senator Tom Cotton Might Run Trump’s CIA Is Scary

Mobile games growing up

The #1 on the iOS app charts this week is Fortnite, despite the fact that the game only runs if you got an invite from Epic. The pull is that except for the control scheme the game is equivalent to the PC / console version. Likewise Civilization VI exists in a mobile version equivalent to the PC game, and Final Fantasy XV on mobile is also rather close to the console version. Meanwhile PC and console games are getting closer to mobile standards regarding their business models, if you consider lootboxes.

There appears to be a huge demand to play AAA games on the go. It is one of the explanations frequently cited to explain the huge success of the Nintendo Switch console, in spite of obvious battery life problems of the concept. But the Nintendo Switch as a mobile device at least still has the same JoyCon controllers, which works a lot better than just a touch screen for some games. I wouldn’t be surprised if we would see alternative controllers that can be connected to Android and iOS mobile gaming platforms in the future.

There are still some issues to resolve on the way. Civilization VI is $60 on Steam, but there are various deals to get it much cheaper; I personally paid $12 as part of a Humble Bundle Monthly. On iOS Civilization VI costs $65, and the best deal ever was the introductory half price. With the PC version having more options in the form of DLC, as well as user-made mods from the Steam Workshop, paying more for the somewhat less mobile version doesn’t look attractive. Final Fantasy XV is better, the Steam version costs $50, while the “pocket” mobile version is $20, and you can try for free or just buy some of the chapters if you want. As much as people might like the idea of mobile AAA games, the full price of a console game is very high compared to the usual price level of mobile games.

However the main attraction of high-priced AAA games is that they tend to be “pay once, play forever”. Some companies believe that when porting games to a mobile platform, they should rather use the business models of mobile games, sometimes to a rather exploitative extent. The Sims Mobile is only playable in short bursts, until you run out of energy; then you either need to wait for hours for the energy to restore itself, or spend real money to advance with prices that make the highly expensive The Sims DLC look cheap (The Sims 4 isn’t on Steam. The Sims 3 from 2009 is, and still has $550 worth of DLCs listed.)

Part of the reason that mobile platforms are catching up to the PC is that the period of fast development of PC graphics appears to be over. My 3-year old graphics card (Geforce GTX 970) in my 4-year old computer is still playing every game at good frame rates. I used to have to change PCs every 2 years to keep up. And as Final Fantasy XV pocket edition shows, you can downgrade graphics for mobile platforms and customers won’t care all that much, as long as the gameplay is good.

In summary, I do believe that there is a trend towards more AAA games on mobile platforms. And as long as that happens at reasonable prices, I’m all for it.

Robert Mueller Has the Trump Team Panicked, No Matter What the President Says

The special prosecutor has reportedly obtained thousands of campaign emails.

Donald Trump responded to questions on Sunday saying he had no intention to fire Special Counsel Robert Mueller. But while Trump was making this statement, both his team inside and outside the White House and Republicans in Congress continued to beat the drums for Mueller’s dismissal.

The president’s comments came a day after a lawyer representing Trump’s transition team accused Mueller of wrongfully obtaining thousands of emails sent and received by Trump officials before the start of his administration — a legal and public relations maneuver seen as possibly laying the groundwork to oust the special counsel.

The revelation that Mueller has obtained a large number of emails issued during the transition period had clearly sent Trump’s team scrambling. It’s not just that Mueller had this material now, but that he seems to have obtained it weeks ago, meaning that recent questioning of everyone from Jared Kushner to Hope Hicks may have been responding to questions for which Mueller already had the answers in hand. Considering that half the people Mueller has already indicted were convicted for lying, that has to have everyone in the White House carefully reviewing their time with the special counsel.

The Republican play on Mueller’s acquisition of the emails is that it is “illegal”—a charge made without bothering to state just what law might have been broken. On Sunday, Trump joined in the vague grumbling.

Trump criticized Mueller for gaining access to those emails, telling reporters the situation was “not looking good.”

But the letter from Trump’s lawyer and additional charges of partisanship by Mueller’s team, was enough to generate a rare statement from Mueller’s spokesman, Peter Carr.

“When we have obtained emails in the course of our ongoing criminal investigation, we have secured either the account owner’s consent or appropriate criminal process.”

Mueller’s gathering up the transition emails is giving Donald Trump a sad.

“It’s quite sad to see that,” Trump said. “My people were very upset about it.”

The potential for additional indictments over lying under oath gives Mueller even more leverage in his efforts to collect testimony directly concerning Trump … but Trump is maintaining an attitude of reduced concern.

Trump has spent much of his first year in office so enraged by the federal investigation into Russian meddling in last year’s election that lawmakers who work with him tried to avoid the issue entirely and his friends worried that Trump might rashly fire the special counsel. But in recent weeks, Trump has privately seemed less frustrated about the investigation, according to multiple sources who have spoken with the President.

Trump has been telling people that he expects to soon be cleared “in writing,” and keeps insisting that Mueller’s investigation will soon be over.

“The President’s mantra is ‘All this Russia stuff, it’s all going to wrap up soon.’ He repeats it as fact,” said one source who speaks to Trump. “Part of me is like — ‘Are you serious? You believe this?'”

But there’s no indication that the special counsel is running out of either witnesses or information. Just eight months in, Mueller’s investigation is a less than a quarter of the length of the average special counsel or special prosecutor investigation, and less than a tenth of investigations like Iran/Contra or Whitewater. It could easily proceed through the length of Trump’s time in office—whether or not that time is shortened.

For the investigation to end anytime soon, as Trump indicates, it will likely be because Trump and the Republicans step in to halt the process before it can complete. But while others are working to tear down Mueller’s reputation and attack the integrity of the investigation, Trump himself seems to be spending time in fantasyland.

Three sources familiar with the President’s recent conversations about the investigation said Trump has become convinced that he will receive a letter of exoneration, which would be unusual. One source worried Trump would have a “meltdown” if that doesn’t happen.

Maybe he expects that letter to come with the signature of Jefferson Sessions. Or new special counsel Sean Hannity. And maybe they’ll also give him a gold star.

 

 

 

Related Stories

  • The One Scenario in Which Trump Would Risk Impeachment and Fire Robert Mueller
  • Donald Trump Jr. and Ted Cruz Mock Barack Obama with Bizarre Cookie
  • Fox News’ Jeanine Pirro Delivers Her Most Disturbing Monologue of Trump’s Presidency

12 Most Insane Rules From the Biggest Neo-Nazi Website on the Internet

White supremacist style guides are…different.

The Daily Stormer is an online hub for racists, white nationalists, anti-Semites, neo-Nazis, and other assorted angry white men. It’s run by Andrew Anglin, who’s been in hiding for months avoiding an SPLC lawsuit charging stochastic terrorism against a Jewish woman in Montana. (Even underground, Anglin has managed to pull in a healthy sum in donations from supporters.) Among the confirmed readers of Anglin’s site are Dylann Roof, who in 2015 murdered nine black parishioners in a South Carolina church, and James Harris Jackson, who murdered a black man in New York City using a sword last March.

HuffPost writer Ashley Feinberg recently got a bit more insight behind the curtain of Anglin’s operation via the site’s 17-page style guide for contributing writers. The document lays out a few standard rules and protocols, from good HTML practices to proper grammar dictates, as well as a few rules that apply only to racist bloggers. The guide is packed with writerly advice on how to promote Anglin’s goals, which begin with expanding readership and end with an all-out race war. The key, per Anglin, is to maintain the site’s veneer of “non-ironic Nazism masquerading as ironic Nazism.”

Here are 12 of the most insane pieces of advice from the biggest neo-Nazi website on the internet.

1. Always blame the Jews.

Anglin writes that the Daily Stormer is “designed to spread the message of nationalism and anti-Semitism to the masses.” To that end, he notes that authors’ “prime directive” is singular: “Always Blame the Jews for Everything.”

“As Hitler says, people will become confused and disheartened if they feel there are multiple enemies. As such, all enemies should be combined into one enemy, which is the Jews. This is pretty much objectively true anyway, but we want to leave out any and all nuance. So no blaming Enlightenment thought, pathological altruism, technology/urbanization, etc. just blame Jews for everything.”

Anglin goes on to assert that Jews should be blamed “for the behavior of other nonwhites” as well as white women. “Women should be attacked, but there should always be mention that if it wasn’t for the Jews, they would be acting normally.”

2. Go easy on the swear words, heavy on the racial slurs.

Contributors are discouraged from “an overuse of profanity” which “can come across as goofy.” But Anglin recommends liberal use of racial epithets, and even offers a helpful list of specific “allowed and advisable” slurs.

•Negro/Negroid
•Monkey
•Ape
•Spic
•Wetback
•Beaner
•Beanperson
•Kike
•Yid
•Sheeny
•Christ-killer
•Haji
•Sandperson
•Paki (can be used for non-Pakistani Moslems, especially Arabs, because that’s funny)
•Muzzie
•Chink
•Gook
•Zipperhead
And others

Anglin adds that while the n-word is also cool, it “shouldn’t be used constantly.” Let spontaneity be your guide, he seems to suggest. Keep people guessing about what new and disgusting way you’ll express your racist self!

3. Demean women, gays, black folks and, of course, the Jews every chance you get.

Anglin shares that “[f]*ggots can be called all the words for f*ggot,” though scatological references are frowned upon. He gives a specific list of words recommended for describing women, and the word “woman” doesn’t appear on it once. Instead, it features “slut,” “whore,” “bitch,” “harlot,” “trollop,” “slag,” and “skag.”

This is yet another moment when Anglin slips in a reminder to writers to shoehorn in more anti-Semitism amidst the misogyny. “Whenever writing about women,” Anglin requests, “make sure to follow the prime directive and blame Jew feminism for their behavior.”

4. But also, be sure to keep things fun and funny so people want to join the…clan!

The most insidious aspect of Anglin’s style guide is its repeated insistence on a stealth recruitment strategy that relies on humor and lightheartedness to get young white readers excited about white nationalism. He repeatedly admonishes writers to cool it with the super angry racist diatribes that might scare newbies off. Instead, he suggests, authors should infuse their racism with lots of jokes, like the hipster racism of Vice circa 2003. (Ironically, in this same document, Anglin trashes Vice co-founder and hipster-racism aficionado Gavin McInnes as a “bottomless bucket of lulz.”)

“While racial slurs are allowed/recommended, not every reference to non-white should not be a slur and their use should be based on the tone of the article. Generally, when using racial slurs, it should come across as half-joking—like a racist joke that everyone laughs at because it’s true. This follows the generally light tone of the site.”

Here’s the key, though: “It should not come across as genuine raging vitriol. That is a turnoff to the overwhelming majority of people.”

Anglin reaffirms that the goal is to lure new readers, and potential new adherents to the alt-right’s racist agenda, above all. And the way to do that is by dressing the message up in internet memes and provocative jokes, and then to drive the (racist) point home over and over again.

“[T]hough we do mean to keep readers who are already in the know informed and entertained, it should always be considered that the target audience is people who are just becoming aware of this type of thinking,” Anglin writes. “The goal is to continually repeat the same points, over and over and over and over again. The reader is at first drawn in by curiosity or the naughty humor, and is slowly awakened to reality by repeatedly reading the same points.”

You know how you can end up knowing the words to a song you hate if you hear it enough on the radio? Repetition works. And Anglin’s betting that his writers can beat the audience over the head with their message until it’s gotten inside their heads.

5. Again, avoid overt hatred, despite the fact that it’s precisely what you’re peddling.

“Most people are not comfortable with material that comes across as vitriolic, raging, non-ironic hatred,” Anglin restates in another section of the document. “The unindoctrinated should not be able to tell if we are joking or not. There should also be a conscious awareness of mocking stereotypes of hateful racists. I usually think of this as self deprecating humor—I am a racist making fun of stereotype of racists, because I don’t take myself super-seriously.”

He adds, “There should be a conscious agenda to dehumanize the enemy, to the point where people are ready to laugh at their deaths. So it isn’t clear that we are doing this—as that would be a turnoff to most normal people—we rely on lulz.”

To put a very fine, super ugly point on it: “This is obviously a ploy and I actually do want to gas kikes. But that’s neither here nor there.”

6. Quote liberally from mainstream media sources to borrow their validity and authority.

Anglin urges writers to recycle “large parts” from articles in mainstream news outlets as a way to siphon legitimacy toward his own site. The idea is to do a good enough job of combining verifiable facts with nonsense racist propaganda that the two start to blend together.

“Being able to see the mainstream source quoted allows us to co-opt the perceived authority of the mainstream media,” Anglin writes, “and not look like one of those sites we are all probably familiar with where you are never certain if what they are saying has been confirmed.”

7. Note the media outlets covertly helping us do our dirty work.

While suggesting that writers find concise versions of real news stories to incorporate into their posts, Anglin notes that two news outlets seems to share a similar worldview.

“RT and Breitbart have the benefit of being closer to our own spin on many issues,” Anglin writes, “meaning….they are more likely to include points of interest.”

8. Take inspiration from—who else?—Adolf Hitler!

A quote from Anglin, without commentary: “The basic propaganda doctrine of the site is based on Hitler’s doctrine of war propaganda outlined in Mein Kampf, Volume I, Chapter VI. If you have not read this, please do so immediately.”

9. By all means, stir up the anger and rage of violent racist readers, but do it in a way that ensures we can feign innocence in court.

As he notes in a section titled “Violence,” Anglin is well aware that “It’s illegal to promote violence on the internet.” But as someone holding out hope that the U.S. will break out into a wide-scale race war, he’s dedicated to surreptitiously urging violent attacks by his racist followers en masse.

If you’re writing about some enemy Jew/feminist/etc., link their social media accounts,” Anglin advises writers for his site. “Twitter especially. We’ve gotten press attention before when I didn’t even call for someone to be trolled but just linked them and people went and did it.”

He also suggests that “it’s totally important to normalize the acceptance of violence as an eventuality/inevitability.” So murderous racists like Dylann Roof and Anders Breivik are hailed as heroes using language so over-the-top it borders on comical.

“This is great because people think you must be joking,” Anglin cynically notes. “But there is a part of their brain that doesn’t think that…[E]ven when a person can say to themselves ‘this is ridiculous,’ they are still affected by it on an emotional level. Whether they like it or not.”

10. Use popular culture as a vehicle for the white nationalist message.

People like what they know, and so Anglin aims to replicate recognizable and widely known media to engage readers in a way they understand. Early on in the style guide, Anglin admits that the Daily Stormer “is in many ways modeled off of successful liberal blogs such as Gawker.” (Anglin has reportedly previously cited Vice and Infowars.) He recommends writers fill their posts with “pop culture gifs of the style that Buzzfeed uses.”

But beyond just mirroring cultural digital ephemera, Anglin suggests that writers subvert—or rather, “hijack”—popular memes to give them a racist twist.

“Cultural references and attachment of entertainment culture to Nazi concepts have the psychological purpose of removing it from the void of weirdness that it would naturally exist in, due to the way it has been dealt with by the culture thus far, and making it a part of the reader’s world. Through this method we are also able to use the existing culture to transmit our own ideas and agenda.”

The site got lots of attention when it dubbed Taylor Swift an “Aryan Goddess” and suggested the singer is “a secret Nazi.” (For the record, Swift tried to sue a blogger who essentially demanded she disavow the alt-right, at least until the ACLU intervened on the blogger’s behalf. Conversely, Swift has never threatened to sue an actual white nationalist for claiming she supports their cause.)

Anglin also notes he turned 50 Cent’s “In Da Club” into an anti-immigrant song, because racists are lazy, garbage culture vultures who steal black people’s stuff while complaining about the browning of America.  

11. There’s no such thing as bad press.

Remember how stoked the alt-right was when presidential candidate Hillary Clinton gave a speech about how awful they were? That’s because you can’t shame a movement bereft of morals and principles from jump. Also, because the alt-right’s unofficial motto is “there’s no such thing as bad press.”

“We should always be on the lookout for any opportunity to grab media attention,” Anglin affirms. “It’s all good. No matter what.”

12. Even the payment system is a ‘jokey’ homage to Hitler.

Feinberg found that neo-Nazi hacker Andrew Auernheimer, who also serves as systems administrator for the Daily Stormer, recently shared this information with a group of prospective contributors: “[O]kay basically, it works like this, you can write articles, if we dont like them you can put them on your own blog or whatever, if we accept them for publication we will pay you $14.88.”

1488 is a popular number among white supremacists and other garden-variety racists. Fourteen is a reference to the “14 words,” a racist slogan favored by white nationalists and the like. Two eights—the eighth letter of the alphabet—stands for HH, as in Heil Hitler. (During the 2016 presidential election, a PBS docu-special happened to catch an enthusiastic Trump supporter’s gigantic “88” hand tattoo.)

 

Related Stories

  • Racism Is a Highly Profitable Online Business
  • Late-Night Hosts Agree: After Roy Moore’s Defeat, ‘The Real Loser Here Is Donald Trump’
  • Blame the Media? The NY Times Coverage of Clinton v. Trump Was Lacking

Rage of Demons: Session 3

In the previous session our heroes traveled towards the kuo-toa village of Sloobludop, pursued by the drow. They had learned from their kuo-toa companion Shuushar that there were two factions in Sloobludop: The followers of the goddess Blibdoolpoolp (aka “the Sea Mother”) with her archpriest Plooploopeen (aka “Ploop”) were vying for control with the upstart followers of the god Leemooggoogoon (aka “the Deep Father”) and his archpriestess Bloppblippodd (aka “Blopp”), daughter of Ploop.

Before they reached the village they were accosted by a patrol of kuo-toa, who offered them safe passage to Sloobludop if they would put all their weapons in a sack to prevent a surprise attack. They agreed, but before they could reach Sloobludop another patrol of kuo-toa attacked and killed the first patrol. That second patrol was led by Ploop, who explained that the first patrol was from the other faction, who would have sacrificed the group to the Deep Father. Ploop led them to the village and told them which quarters to stay in to not attract the attention of the other faction. But Surina the sorceress was curious about the other faction, magically disguised herself as kuo-toa, took Nyx the druid in the form of a small animal on her shoulder, and went exploring. She found that in fact the altar of the Deep Father looked rather grim: Two octopi were tied together on top of a manta ray, to give the impression of a two-headed monster. Traces of blood sacrifices were visible. In contrast the altar of the Sea Mother had offerings of knickknacks like sea shells, and looked more welcoming.

Based on that information the group agreed to a proposal of Ploop: They were to hide their weapon and armor under robes and be led by a group of Ploop’s followers to the upcoming festival in honor of the Deep Father. Ploop would pretend to give them to Blopp as a peace offering, as sacrifice for her god. But then Ploop, his followers, and the group would attack Blopp and her followers.

They executed the plan as intended. When striking down Blopp, the archpriestess called out “Leemooggoogoon”, and fell bleeding on the god’s altar. Suddenly the dark surface of the lake behind the altar began to bubble, and a huge monstrosity with tentacles and two baboon heads rose from the water. “Leemooggoogon” turned out to be the demon prince Demogorgon! With a single attack Demogorgon killed Prince Derendil, one of the NPC companions of the group. They also lost another NPC companion, Jimjar, by getting separated from him in the ensuing chaos. While Demogorgon killed Ploop, the group escaped and found a boat. With their remaining NPC companions Buppido, Shuushar, Sarith, and Stool, they got away from Sloobludop. Now they knew that something more dangerous than drow was afoot in the Underdark!

With the help of Arkoy’s curse that gave them a sense of direction, and Shuushar’s knowledge of the lake, they decided to travel towards Gracklstugh, the duergar city where Buppido claimed to know a way towards the surface world. But that was 20 days of travel away. On the evening of the first day they stopped at an island where they found a tunnel leading underground in which fungi grew. Unfortunately those turned out to be Timmask, a poisonous mushroom, whose spores put a confusion on Nyx, so she wandered deeper down in the tunnel. Following Nyx to stop her, the group was caught in a tremor causing a cave-in and were trapped. However a new passage had opened in one of the tunnel walls, leading to a strange temple. At first the group encountered gray ooze twice, who fell from the ceiling and damaged Mog’burz’ weapon with acid.

Then they saw a strange sight before them: A skeleton (not animated) was seemingly floating in the air, along with a dark metal mace and some coins. Trying to take the mace with a mage hand spell led to the hand encountering an invisible wall, and a telepathic message of “Hey! Stop tickling me!”. Thus the group encountered Glabbagool, a gelatinous cube who had become sentient. Glabbagool was friendly and spat out the mace and coins on request, and told them about the rest of the temple. He warned them about traps full of black puddings in corridors leading to a closed door, of which he didn’t know what was behind it. The group went there with Glabbagool escorting them (and dispatching quickly some more gray oozes). They discovered a new cave which Glabbagool said hadn’t been there before, from which water flowed into the temple.

They went to the closed door, which turned out to be easy to open for creatures possessing hands to use the door knob. Behind was an octagonal room with 7 niches, of which 4 contained strange, formless sculptures, and a big fountain in the middle containing dark water. Touching the statues unfroze them, and they turned out to be another 4 gray oozes. After killing those they discovered some treasure under the water of the fountain. Having explored the whole temple, there was no apparent way out. And from the new cave water kept rushing in, the whole complex being below the surface level of the darklake. They explored the cave and saw that the water was coming from fissures in the ceiling. With the help of a Magic Missile (and creative rule interpretation by me as DM) they made the ceiling collapse, at which point they could swim to the surface of the lake and back to their boat.

There a nasty surprise awaited them. Buppido was found unconscious with a big bump on the back of his head, while Shuushar was dead, with his entrails arranged in a bizarre fashion around him, like by some sort of ritual. Woken up, Buppido couldn’t provide an explanation of what had happened, and the group found no traces of the killer. So the next day they said goodbye to Glabbagool (who wouldn’t fit on the boat) and rowed off.

Two days later they were passing by another island, when they heard a soft feminine voice inside their heads pleading for help. Somebody on the island needed rescue! On the island they found a big green door, which turned out to be of heavy marble, covered in corroded bronze, and with an axis in the middle. Pushing with much force on the side opened the door (we were joking that Mog’burz, who failed several door opening rolls in this dungeon, kept pushing in the middle of the door). Behind the door was a Nethril tomb from millennia ago (basically Ancient Egyptian in design), the Lost Tomb of Khaem.

In the tomb the group came upon a room with a stone sarcophagus. That turned out to be a false tomb with a trap cursing them to have disadvantage on all attack rolls and saving throws. As they were all affected by the curse, this turned the dungeon into a far more deadly place. And there was another strange feature to the tomb: Any spell cast resulted in a wild magic surge, giving a random result form the wild magic table of the chaos sorcerer. That turned out to be an insidious feature when in the next room the group was attacked by four specters, who were resistant to non-magical damage. It turned downright deadly in the final (hidden) room, where the group encountered Brysis of Khaem, an evil sorceress who was now a wraith. Mog’burz the eldritch knight countered an attack of Brysis with a shield spell, but that triggered everybody’s favorite wild magic surge result: a fireball.

They barely survived this encounter, but then found the source of the voice: an intelligent sword called Dawnbringer. They also found a bunch of other nice treasures, like a necklace of fireballs, and over 2,000 gold pieces worth of valuables. Danger has its rewards in Dungeons & Dragons. At that point we ended the session, the group having reached level 5.

Republican Senators Are Making Out Like Bandits with Special Real-Estate Tax Break

The GOP isn’t even masking its greed and corruption.

When the U.S. Senate takes up the final tax bill this week, more than a quarter of all GOP senators will be voting on a bill that includes a special provision that could give them a new tax cut through their real estate shell companies, according to federal records reviewed by International Business Times. The provision…

 

Related Stories

  • The Republican Tax Bill Is a Poison Pill That Kills the New Deal
  • The GOP Tax Bill Is Social Darwinism in Action
  • Trump Diehards Take Over Taylor Swift’s New App, Instantly Start Spewing Hate