Showing posts with label list. Show all posts
Showing posts with label list. Show all posts
Sunday, August 7, 2016
Chosun Ilbo English Edition RSS feeds list
Chosun Ilbo English Edition RSS feeds list
The Chosun Ilbo offers several catagories of RSS feeds for their content by certain news sections. Heres a big list of all the feeds I could find for this news source.


The Chosun is one of the more conservative-leaning daily newspapers in Korea. Not surprising then, their English language edition is usually more newsy and serious. None of the left-wing soapboxing of the Hani, and few of the questionably-edited puff pieces of the KT. So its a decent source for decent Koreaphiles to add to their RSS reader.
Main Chosun Ilbo RSS feed
They publicize only their main, full-news RSS feed:
http://english.chosun.com/site/data/rss/rss.xml
But I always prefer categorized feeds to help keep the flood of articles down to just those areas Im interested in. So I went snooping, and with some Google-fu and some trial-and-error, came up with the following list of other currently-working RSS feeds for various paper sections. Youll notice some repeat at different URLs. This is not an exhaustive list, as far as I know, and there may be others for other categories. If you find another, let me know.
Chosun Ilbo specific news category feeds:
- http://english.chosun.com/site/data/rss/national.xml
- http://english.chosun.com/site/data/rss/politics.xml
- http://english.chosun.com/site/data/rss/editorial.xml
- http://english.chosun.com/site/data/rss/travel.xml
- http://english.chosun.com/site/data/rss/photo.xml
- http://english.chosun.com/site/data/rss/business.xml
- http://english.chosun.com/site/data/rss/people.xml
- http://english.chosun.com/site/data/rss/city.xml
- http://english.chosun.com/site/data/rss/inside.xml
- http://english.chosun.com/site/data/rss/events.xml
- http://english.chosun.com/site/data/rss/movie.xml
- http://english.chosun.com/site/data/rss/video.xml
- http://english.chosun.com/site/data/rss/news1.xml (National)
- http://english.chosun.com/site/data/rss/news2.xml (Business)
- http://english.chosun.com/site/data/rss/news3.xml (Sports)
- http://english.chosun.com/site/data/rss/news4.xml (Arts & Entertainment)
- http://english.chosun.com/site/data/rss/news5.xml (World)
- http://english.chosun.com/site/data/rss/news6.xml (Opinion)
- http://english.chosun.com/site/data/rss/news7.xml (Tip of the Day)
Chosun Ilbo keyword search feed
Another neat trick I discovered, which is featured on their Korean-language RSS service, is that you can subscribe to keyword searches also. It seems to search your keyword across all content (Korean and English articles) but if you use an English-language keyword, the resulting article count is pretty well restricted to English content. Try it out:
http://search.chosun.com/openAPI/news.search?sQuery=YOURKEYWORDHERE&&offset=0&hitsPerpage=20&returnType=rss
Heres a feed for articles about "Busan" for example.
Awhile back I did something similar for Korea Times news section feeds, and you can my other feed-related posts here.
Happy news reading.
=====
This post is from the blog 10? Tips, by Sam Nordberg. See the original there, and follow me on Facebook or Twitter @10wontips.
This post is from the blog 10? Tips, by Sam Nordberg. See the original there, and follow me on Facebook or Twitter @10wontips.
Thursday, August 4, 2016
AD User List Query
AD User List Query
I found this script on the web some time ago and its great to dump all of the users out of AD into an Excel file. Ive been asked to do this many times for a variety of reasons. Just copy this text exactly, place the script on a DC and run. Thats all it takes.
Dim ObjWb
Dim ObjExcel
Dim x, zz
Set objRoot = GetObject("LDAP://RootDSE")
strDNC = objRoot.Get("DefaultNamingContext")
Set objDomain = GetObject("LDAP://" & strDNC) Bind to the top of the Domain using LDAP using ROotDSE
Call ExcelSetup("Sheet1") Sub to make Excel Document
x = 1
Call enummembers(objDomain)
Sub enumMembers(objDomain)
On Error Resume Next
Dim Secondary(20) Variable to store the Array of 2ndary email aliass
For Each objMember In objDomain go through the collection
If ObjMember.Class = "user" Then if not User object, move on.
x = x +1 counter used to increment the cells in Excel
objwb.Cells(x, 1).Value = objMember.Class
I set AD properties to variables so if needed you could do Null checks or add if/thens to this code
this was done so the script could be modified easier.
SamAccountName = ObjMember.samAccountName
Cn = ObjMember.CN
FirstName = objMember.GivenName
LastName = objMember.sn
initials = objMember.initials
Descrip = objMember.description
Office = objMember.physicalDeliveryOfficeName
Telephone = objMember.telephonenumber
EmailAddr = objMember.mail
WebPage = objMember.wwwHomePage
Addr1 = objMember.streetAddress
City = objMember.l
State = objMember.st
ZipCode = objMember.postalCode
Title = ObjMember.Title
Department = objMember.Department
Company = objMember.Company
Manager = ObjMember.Manager
Profile = objMember.profilePath
LoginScript = objMember.scriptpath
HomeDirectory = ObjMember.HomeDirectory
HomeDrive = ObjMember.homeDrive
AdsPath = Objmember.Adspath
LastLogin = objMember.LastLogin
zz = 1 Counter for array of 2ndary email addresses
For each email in ObjMember.proxyAddresses
If Left (email,5) = "SMTP:" Then
Primary = Mid (email,6) if SMTP is all caps, then its the Primary
ElseIf Left (email,5) = "smtp:" Then
Secondary(zz) = Mid (email,6) load the list of 2ndary SMTP emails into Array.
zz = zz + 1
End If
Next
Write the values to Excel, using the X counter to increment the rows.
objwb.Cells(x, 2).Value = SamAccountName
objwb.Cells(x, 3).Value = CN
objwb.Cells(x, 4).Value = FirstName
objwb.Cells(x, 5).Value = LastName
objwb.Cells(x, 6).Value = Initials
objwb.Cells(x, 7).Value = Descrip
objwb.Cells(x, 8).Value = Office
objwb.Cells(x, 9).Value = Telephone
objwb.Cells(x, 10).Value = EmailAddr
objwb.Cells(x, 11).Value = WebPage
objwb.Cells(x, 12).Value = Addr1
objwb.Cells(x, 13).Value = City
objwb.Cells(x, 14).Value = State
objwb.Cells(x, 15).Value = ZipCode
objwb.Cells(x, 16).Value = Title
objwb.Cells(x, 17).Value = Department
objwb.Cells(x, 18).Value = Company
objwb.Cells(x, 19).Value = Manager
objwb.Cells(x, 20).Value = Profile
objwb.Cells(x, 21).Value = LoginScript
objwb.Cells(x, 22).Value = HomeDirectory
objwb.Cells(x, 23).Value = HomeDrive
objwb.Cells(x, 24).Value = Adspath
objwb.Cells(x, 25).Value = LastLogin
objwb.Cells(x,26).Value = Primary
Write out the Array for the 2ndary email addresses.
For ll = 1 To 20
objwb.Cells(x,26+ll).Value = Secondary(ll)
Next
Blank out Variables in case the next object doesnt have a value for the property
SamAccountName = "-"
Cn = "-"
FirstName = "-"
LastName = "-"
initials = "-"
Descrip = "-"
Office = "-"
Telephone = "-"
EmailAddr = "-"
WebPage = "-"
Addr1 = "-"
City = "-"
State = "-"
ZipCode = "-"
Title = "-"
Department = "-"
Company = "-"
Manager = "-"
Profile = "-"
LoginScript = "-"
HomeDirectory = "-"
HomeDrive = "-"
Primary = "-"
For ll = 1 To 20
Secondary(ll) = ""
Next
End If
If the AD enumeration runs into an OU object, call the Sub again to itinerate
If objMember.Class = "organizationalUnit" or OBjMember.Class = "container" Then
enumMembers (objMember)
End If
Next
End Sub
Sub ExcelSetup(shtName) This sub creates an Excel worksheet and adds Column heads to the 1st row
Set objExcel = CreateObject("Excel.Application")
Set objwb = objExcel.Workbooks.Add
Set objwb = objExcel.ActiveWorkbook.Worksheets(shtName)
Objwb.Name = "Active Directory Users" name the sheet
objwb.Activate
objExcel.Visible = True
objwb.Cells(1, 2).Value = "SamAccountName"
objwb.Cells(1, 3).Value = "CN"
objwb.Cells(1, 4).Value = "FirstName"
objwb.Cells(1, 5).Value = "LastName"
objwb.Cells(1, 6).Value = "Initials"
objwb.Cells(1, 7).Value = "Descrip"
objwb.Cells(1, 8).Value = "Office"
objwb.Cells(1, 9).Value = "Telephone"
objwb.Cells(1, 10).Value = "Email"
objwb.Cells(1, 11).Value = "WebPage"
objwb.Cells(1, 12).Value = "Addr1"
objwb.Cells(1, 13).Value = "City"
objwb.Cells(1, 14).Value = "State"
objwb.Cells(1, 15).Value = "ZipCode"
objwb.Cells(1, 16).Value = "Title"
objwb.Cells(1, 17).Value = "Department"
objwb.Cells(1, 18).Value = "Company"
objwb.Cells(1, 19).Value = "Manager"
objwb.Cells(1, 20).Value = "Profile"
objwb.Cells(1, 21).Value = "LoginScript"
objwb.Cells(1, 22).Value = "HomeDirectory"
objwb.Cells(1, 23).Value = "HomeDrive"
objwb.Cells(1, 24).Value = "Adspath"
objwb.Cells(1, 25).Value = "LastLogin"
objwb.Cells(1, 26).Value = "Primary SMTP"
End Sub
MsgBox "Done" show that script is complete
Dim ObjExcel
Dim x, zz
Set objRoot = GetObject("LDAP://RootDSE")
strDNC = objRoot.Get("DefaultNamingContext")
Set objDomain = GetObject("LDAP://" & strDNC) Bind to the top of the Domain using LDAP using ROotDSE
Call ExcelSetup("Sheet1") Sub to make Excel Document
x = 1
Call enummembers(objDomain)
Sub enumMembers(objDomain)
On Error Resume Next
Dim Secondary(20) Variable to store the Array of 2ndary email aliass
For Each objMember In objDomain go through the collection
If ObjMember.Class = "user" Then if not User object, move on.
x = x +1 counter used to increment the cells in Excel
objwb.Cells(x, 1).Value = objMember.Class
I set AD properties to variables so if needed you could do Null checks or add if/thens to this code
this was done so the script could be modified easier.
SamAccountName = ObjMember.samAccountName
Cn = ObjMember.CN
FirstName = objMember.GivenName
LastName = objMember.sn
initials = objMember.initials
Descrip = objMember.description
Office = objMember.physicalDeliveryOfficeName
Telephone = objMember.telephonenumber
EmailAddr = objMember.mail
WebPage = objMember.wwwHomePage
Addr1 = objMember.streetAddress
City = objMember.l
State = objMember.st
ZipCode = objMember.postalCode
Title = ObjMember.Title
Department = objMember.Department
Company = objMember.Company
Manager = ObjMember.Manager
Profile = objMember.profilePath
LoginScript = objMember.scriptpath
HomeDirectory = ObjMember.HomeDirectory
HomeDrive = ObjMember.homeDrive
AdsPath = Objmember.Adspath
LastLogin = objMember.LastLogin
zz = 1 Counter for array of 2ndary email addresses
For each email in ObjMember.proxyAddresses
If Left (email,5) = "SMTP:" Then
Primary = Mid (email,6) if SMTP is all caps, then its the Primary
ElseIf Left (email,5) = "smtp:" Then
Secondary(zz) = Mid (email,6) load the list of 2ndary SMTP emails into Array.
zz = zz + 1
End If
Next
Write the values to Excel, using the X counter to increment the rows.
objwb.Cells(x, 2).Value = SamAccountName
objwb.Cells(x, 3).Value = CN
objwb.Cells(x, 4).Value = FirstName
objwb.Cells(x, 5).Value = LastName
objwb.Cells(x, 6).Value = Initials
objwb.Cells(x, 7).Value = Descrip
objwb.Cells(x, 8).Value = Office
objwb.Cells(x, 9).Value = Telephone
objwb.Cells(x, 10).Value = EmailAddr
objwb.Cells(x, 11).Value = WebPage
objwb.Cells(x, 12).Value = Addr1
objwb.Cells(x, 13).Value = City
objwb.Cells(x, 14).Value = State
objwb.Cells(x, 15).Value = ZipCode
objwb.Cells(x, 16).Value = Title
objwb.Cells(x, 17).Value = Department
objwb.Cells(x, 18).Value = Company
objwb.Cells(x, 19).Value = Manager
objwb.Cells(x, 20).Value = Profile
objwb.Cells(x, 21).Value = LoginScript
objwb.Cells(x, 22).Value = HomeDirectory
objwb.Cells(x, 23).Value = HomeDrive
objwb.Cells(x, 24).Value = Adspath
objwb.Cells(x, 25).Value = LastLogin
objwb.Cells(x,26).Value = Primary
Write out the Array for the 2ndary email addresses.
For ll = 1 To 20
objwb.Cells(x,26+ll).Value = Secondary(ll)
Next
Blank out Variables in case the next object doesnt have a value for the property
SamAccountName = "-"
Cn = "-"
FirstName = "-"
LastName = "-"
initials = "-"
Descrip = "-"
Office = "-"
Telephone = "-"
EmailAddr = "-"
WebPage = "-"
Addr1 = "-"
City = "-"
State = "-"
ZipCode = "-"
Title = "-"
Department = "-"
Company = "-"
Manager = "-"
Profile = "-"
LoginScript = "-"
HomeDirectory = "-"
HomeDrive = "-"
Primary = "-"
For ll = 1 To 20
Secondary(ll) = ""
Next
End If
If the AD enumeration runs into an OU object, call the Sub again to itinerate
If objMember.Class = "organizationalUnit" or OBjMember.Class = "container" Then
enumMembers (objMember)
End If
Next
End Sub
Sub ExcelSetup(shtName) This sub creates an Excel worksheet and adds Column heads to the 1st row
Set objExcel = CreateObject("Excel.Application")
Set objwb = objExcel.Workbooks.Add
Set objwb = objExcel.ActiveWorkbook.Worksheets(shtName)
Objwb.Name = "Active Directory Users" name the sheet
objwb.Activate
objExcel.Visible = True
objwb.Cells(1, 2).Value = "SamAccountName"
objwb.Cells(1, 3).Value = "CN"
objwb.Cells(1, 4).Value = "FirstName"
objwb.Cells(1, 5).Value = "LastName"
objwb.Cells(1, 6).Value = "Initials"
objwb.Cells(1, 7).Value = "Descrip"
objwb.Cells(1, 8).Value = "Office"
objwb.Cells(1, 9).Value = "Telephone"
objwb.Cells(1, 10).Value = "Email"
objwb.Cells(1, 11).Value = "WebPage"
objwb.Cells(1, 12).Value = "Addr1"
objwb.Cells(1, 13).Value = "City"
objwb.Cells(1, 14).Value = "State"
objwb.Cells(1, 15).Value = "ZipCode"
objwb.Cells(1, 16).Value = "Title"
objwb.Cells(1, 17).Value = "Department"
objwb.Cells(1, 18).Value = "Company"
objwb.Cells(1, 19).Value = "Manager"
objwb.Cells(1, 20).Value = "Profile"
objwb.Cells(1, 21).Value = "LoginScript"
objwb.Cells(1, 22).Value = "HomeDirectory"
objwb.Cells(1, 23).Value = "HomeDrive"
objwb.Cells(1, 24).Value = "Adspath"
objwb.Cells(1, 25).Value = "LastLogin"
objwb.Cells(1, 26).Value = "Primary SMTP"
End Sub
MsgBox "Done" show that script is complete
Subscribe to:
Posts (Atom)